Embedding videos within forums

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vintum
    New Member
    • Jan 2013
    • 15
    • 4.2.X

    [Forum] Embedding videos within forums

    Ok, so I've been fighting with this for a day now. I know this is maybe out of scope for this forum, but will try anyway.


    I first ordered my hosting and got SSL installed. No problem. It's working fine. A little too fine, apparently. I discovered that I was not able to embed any videos, and after some researching as to why - it turns out it was because https pages were blocking access to embedded http resources. Ok, I understood that. But wait, why am I also not able to embed https video sources?

    So here is what I've done. I made a test html page in my web root and tried placing the videos there and accessed it with https. They work just fine. But they refuse to work when embedded within the actual website. I've even tried disabling SSL and loaded the forum as standard http, and they STILL won't load. But they load just fine on my test page, and also seem to load fine when I enter the post to edit it.

    I don't get it!

    Any ideas here? If you want links to see, then I can give a link to a test forum post and the test html page.
  • yv3013
    Senior Member
    • Jan 2013
    • 102
    • 5.0.0

    #2
    I'm having video issues also, I found it interesting about the SSL you mention, whilst I can embed and play video's, they show a blank screen where they should show a picture of the video.

    So I think both our problems are related to SSL.
    How do I get rid of SSL? my current host or the original host?

    Comment

    • Vintum
      New Member
      • Jan 2013
      • 15
      • 4.2.X

      #3
      I turned off my SSL by changing https to http in the settings menu.

      I've found something that I think may possibly be causing an issue with the embedding. Looking at the page source, the html code I pasted into the forum is being broken up. As seen in this image: http://i.imgur.com/bR8rRdH.jpg

      Any idea on how to prevent this from happening? This is the only thing I can think of to be possibly causing the issue. The same code works flawlessly every where else I try it at.

      Comment

      • Vintum
        New Member
        • Jan 2013
        • 15
        • 4.2.X

        #4
        I was able to confirm that this appears to be the cause of the issue for me. If I try to use the broken up code from the page source, the embed will not work. But it works just fine again when I delete the spaces.

        Any way to prevent those spaces from appearing?

        Comment

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

          #5
          How are you trying to embed this code? What is the URL that you're trying to embed?
          Translations provided by Google.

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

          Comment

          • Vintum
            New Member
            • Jan 2013
            • 15
            • 4.2.X

            #6
            Originally posted by Wayne Luke
            How are you trying to embed this code? What is the URL that you're trying to embed?
            I'm just pasting the embed code as it appears when given to me. It's an embed code from google's picasa. It's rather long, and it only does it to this code and not other embed codes.

            Code:
            <embed style="width: 600px; height: 400px;" flashvars="fmt_list=22%2F1280x720%2F9%2F0%2F115%2C18%2F640x36  0%2F9%2F0%2F115&amp;fmt_stream_map=22%7Chttps%3A%2F%2Fredirector.googlevideo.com%2Fvideoplayback%3Frequiressl%3Dyes%26shardbypass%3Dyes%26cmbypass%3Dyes%26id%3D878620f8c8d9b868%26itag%3D22%26source%3Dpicasa%26cmo%3Dsecure_transport%3Dyes%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1424118731%26sparams%3Drequiressl%252Cshardbypass%252Ccmbypass%252Cid%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3DDD05F166309CDD4EBA8961B575BEF9A0C8CA9C82.72AA1374DD774E1968703F67BE033AC0DAE56C1A%26key%3Dlh1%2C18%7Chttps%3A%2F%2Fredirector.googlevideo.com%2Fvideoplayback%3Frequiressl%3Dyes%26shardbypass%3Dyes%26cmbypass%3Dyes%26id%3D878620f8c8d9b868%26itag%3D18%26source%3Dpicasa%26cmo%3Dsecure_transport%3Dyes%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1424118731%26sparams%3Drequiressl%252Cshardbypass%252Ccmbypass%252Cid%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3D7E1767DBFB7F6E29292C4436267CE021A92E955F.D316EA85A56A87915815D910A950D5E0B93998AF%26key%3Dlh1&amp;video_id=picasacid&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;ps=picasaweb&amp;playerapiid=uniquePlayerI  d&amp;t=1&amp;auth_timeout=86400000000" wmode="opaque" scale="noScale" bgcolor="#fff" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" src="//www.youtube.com/get_player?enablejsapi=1" height="400" width="600">
            It works fine everywhere, except in vbulletin posts where it is being broken up. This is how it looks in a thread's source page: http://i.imgur.com/bR8rRdH.jpg

            Comment

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

              #7
              That is a very messy URL. You'll need to increase the word wrap on your forum so that it is longer than the URL.

              Settings -> Options -> Thread Display Options (showthread) -> Number of Characters Before Wrapping Text
              Translations provided by Google.

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

              Comment

              • Vintum
                New Member
                • Jan 2013
                • 15
                • 4.2.X

                #8
                Excellent, thank you. That's what was causing it.

                Comment

                Related Topics

                Collapse

                Working...