The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
Full Screen Button in Youtube embedded Videos
![]() Developer Last Online: Jun 2022 ![]() ![]()
Updated to work with 4.0.6
Hi, a member posted a video on my site and complained to me that there is no Full Screen Button in the embedded video. The fix to this is really simple: You need to go to Styles & Templates ?> Style Manager ?> ?> BBCode Layout Templates ?> bbcode_video: Find: HTML 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}"> <param name="movie" value="http://www.youtube.com/v/{vb:raw code}" /> <param name="wmode" value="transparent" /> <!--[if IE 6]> <embed width="640" height="385" type="application/x-shockwave-flash" src="http://www.youtube.com/v/{vb:raw code}" /> <![endif]--></object> HTML 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" /> <!--[if IE 6]> <embed width="640" height="385" type="application/x-shockwave-flash" src="http://www.youtube.com/v/{vb:raw code}" /> <![endif]--></object> For Vimeo, the process is the same, Find: HTML Code:
<vb:elseif condition="$provider == 'vimeo'" /> <object class="restrain" type="application/x-shockwave-flash" width="640" height="360" data="http://vimeo.com/moogaloop.swf?clip_id={vb:raw code}"> <param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id={vb:raw code}" /> <param name="wmode" value="transparent" /> <!--[if IE 6]> <embed width="640" height="360" type="application/x-shockwave-flash" src="http://vimeo.com/moogaloop.swf?clip_id={vb:raw code}" /> <![endif]--></object> HTML Code:
<vb:elseif condition="$provider == 'vimeo'" /> <object class="restrain" type="application/x-shockwave-flash" width="640" height="360" data="http://vimeo.com/moogaloop.swf?clip_id={vb:raw code}&fullscreen=1"> <param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id={vb:raw code}" /> <param name="wmode" value="transparent" /> <param name="allowfullscreen" value="true" /> <!--[if IE 6]> <embed width="420" height="339" type="application/x-shockwave-flash" src="http://www.dailymotion.com/swf/{vb:raw code}" /> <![endif]--></object> Show Your Support
|
Comments |
#42
|
||||
|
||||
![]()
Yes, that seems to work in vb404. Thanks. You should specifically tell the OP that it's okay to update the first post, because if he doesn't we're going to get several pages here of people asking how to get it to work.
I wonder if there's still a bug tracker for this we could go vote on? |
#43
|
||||
|
||||
![]() Quote:
|
#44
|
||||
|
||||
![]()
Tks guys for the update on this! Was annoying not to be able to have it work!
Now if i can just add a comment for all of those who still can't make it work. Simply unchecked this "Automatically parse links in text" in the additional option when you make your post! As it will add the [URL] tags and disable the YouTube BBcode function ![]() Have fun ![]() |
#45
|
||||
|
||||
![]() Quote:
|
#46
|
|||
|
|||
![]()
Me Also on 4.0.5 and does not work.
|
#47
|
||||
|
||||
![]()
working for me in 4.0.5.
@not working guys: revert your video bb code template in vB's default skin. then add &fs=1 and <param name="allowFullScreen" value="true" /> in proper places (as shown in here). |
#48
|
||||
|
||||
![]() Quote:
On Edit: Still doesn't work. |
#49
|
||||
|
||||
![]()
Working here in 405 after the edit in post 40. https://vborg.vbsupport.ru/showpost....4&postcount=40
Maybe you're trying it with a video that doesn't have fullscreen? I don't know if any youtubes actually don't have fullscreen, just guessing. |
#50
|
|||
|
|||
![]() Quote:
Sorry I missed it, all the posts in all the mods I have can get overwhelming sometimes. I am surprised that the coder didn't update the mod to reflect this... But either way installed and rated 5stars. |
#51
|
|||
|
|||
![]()
I am using 3.5.4, and under: Styles & Templates –> Style Manager –> –> BBCode Layout Templates –>
I dont't have bbcode_video.... Is there another place to put this code for the full screen button? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|