Liveleak videos... can't embed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BugOutGirl
    Senior Member
    • Feb 2015
    • 129
    • 5.1.x

    Liveleak videos... can't embed

    Is there a reason why liveleak video's are not supported and is there something that people are using to get around this and embed liveleak?

    Thanks.
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73981

    #2
    They have never been supported. I would say that you're request for this particular service is the first that I've heard.

    Easiest way would be to convert their embed code into a custom BBCode and use it. What does their embed code look like?
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • Guest

      #3
      It's an iFrame Wayne:

      Code:
      <iframe width="640" height="360" src="http://www.liveleak.com/ll_embed?f=361d5060e504" frameborder="0" allowfullscreen></iframe>

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73981

        #4
        That is a simple BBCode to create then.

        Title: Liveleak
        Title liveleak
        Replacement:
        Code:
        <iframe width="640" height="360" src="{param}" frameborder="0" allowfullscreen></iframe>
        Example: [liveleak]http://www.liveleak.com/ll_embed?f=361d5060e504[/liveleak]
        Disable Automatic Link Parsing Within This BBCode: Yes.
        The other options don't need to be changed.

        http://rabidbadger.vbulletin.net/for...liveleak-video

        AdminCP -> Custom BBCode -> Add New BBCode.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • Replicant
          Senior Member
          • Sep 2014
          • 527

          #5
          Wayne Luke , this bbcode as is, stands to be a security issue. I posted a youtube video on your test site using the livelink bbcode. The bbcode should only allow urls originating from the livelink site.


          Comment

          • Lynne
            Former vBulletin Support
            • Oct 2004
            • 26255

            #6
            You could modify it to be:
            HTML Code:
              <iframe width="640" height="360" src="http://www.liveleak.com/ll_embed?f={param}" frameborder="0" allowfullscreen></iframe>
            And then the user would enter:
            [liveleak]361d5060e504[/liveleak]

            Please don't PM or VM me for support - I only help out in the threads.
            vBulletin Manual & vBulletin 4.0 Code Documentation (API)
            Want help modifying your vbulletin forum? Head on over to vbulletin.org
            If I post CSS and you don't know where it goes, throw it into the additional.css template.

            W3Schools &lt;- awesome site for html/css help

            Comment

            • Wayne Luke
              vBulletin Technical Support Lead
              • Aug 2000
              • 73981

              #7
              Originally posted by Replicant
              Wayne Luke , this bbcode as is, stands to be a security issue. I posted a youtube video on your test site using the livelink bbcode. The bbcode should only allow urls originating from the livelink site.

              You're right but it behaves like the other video BBCode. Thought of making it like Lynne's but figured there would be complaints due to different behavior. I would suggest using her's if you're worried about such embedding issues.
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment

              Related Topics

              Collapse

              Working...