Announcement

Collapse
No announcement yet.

Youtube - no more fullscreen button - (how to fix) in 4.2.2 PL4

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Youtube - no more fullscreen button - (how to fix) in 4.2.2 PL4

    Hi.

    Since a couple of month there was no fullscreen button anymore, when you use BBCode to include a Video in vBulletin 4.2.2

    This is how to fix it:

    Just go to template search, enter "youtube" (without quotes) and edit "BBCODE".

    Search for these two lines of code:

    Code:
    <iframe class="restrain" title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/{vb:raw code}?wmode={vb:raw wmode}" frameborder="0"></iframe>
    <vb:elseif condition="$provider == 'youtube_share'" />
    <iframe class="restrain" title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/{vb:raw code}?wmode={vb:raw wmode}" frameborder="0" ></iframe>
    Add "allowfullscreen" (without quotes!!) after "frameborder="0"" like this:

    Code:
    <iframe class="restrain" title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/{vb:raw code}?wmode={vb:raw wmode}" frameborder="0" allowfullscreen></iframe>
    <vb:elseif condition="$provider == 'youtube_share'" />
    <iframe class="restrain" title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/{vb:raw code}?wmode={vb:raw wmode}" frameborder="0" allowfullscreen></iframe>
    Et voila, fullscreen button is back

    Hope this one helped some people (I searched google for this problem but couldnt find anything)

    Btw...sorry for my english..but I think you understand me :P

  • #2
    Hi. I'm running 4.0.2 and have this same issue. I've followed the answers provided, updated my styles (see below), rebuilt the bbcodes and can see that my video is being embedded correctly (see below). However, I still cannot use the fullscreen button as its disabled. How do i troubleshoot this further? Thanks.

    Code:
    <vb:elseif condition="$provider == 'youtube'" />
    <object class="restrain" type="application/x-shockwave-flash" width="640" height="385" data="http://www.youtube.com/v/{vb:raw code}&fs=1">
        <param name="movie" value="http://www.youtube.com/v/{vb:raw code}&fs=1" />
        <param name="wmode" value="transparent" />
        <param name="allowFullScreen" value="true" />
    </object>
    right-clicking on an embedded video and checking its embed code I see :-

    Code:
    <iframe width="640" height="385" src="https://www.youtube.com/embed/xoN8KJ2DTmA" frameborder="0" allowfullscreen></iframe>

    Comment


    • #3
      Originally posted by storrm View Post
      Hi. I'm running 4.0.2 and have this same issue. I've followed the answers provided, updated my styles (see below), rebuilt the bbcodes and can see that my video is being embedded correctly (see below). However, I still cannot use the fullscreen button as its disabled. How do i troubleshoot this further? Thanks.

      Code:
      <vb:elseif condition="$provider == 'youtube'" />
      <object class="restrain" type="application/x-shockwave-flash" width="640" height="385" data="http://www.youtube.com/v/{vb:raw code}&fs=1">
      <param name="movie" value="http://www.youtube.com/v/{vb:raw code}&fs=1" />
      <param name="wmode" value="transparent" />
      <param name="allowFullScreen" value="true" />
      </object>
      right-clicking on an embedded video and checking its embed code I see :-

      Code:
      <iframe width="640" height="385" src="https://www.youtube.com/embed/xoN8KJ2DTmA" frameborder="0" allowfullscreen></iframe>
      Much of this code will have been changed since 4.0.2.

      We cannot provide any support for that version, it is many years old. You shouldn't be running it, as it contains multiple unpatched bugs and security flaws.

      Please upgrade to at least 4.2.3 as quickly as you can.
      MARK.B | vBULLETIN SUPPORT

      TalkNewsUK - My vBulletin 5.5.4 Demo
      AdminAmmo - My Cloud Demo

      Comment

      Related Topics

      Collapse

      Working...
      X