The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Full Screen Button in Youtube embedded Videos Details »» | |||||||||||||||||||||||||||
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 |
#52
|
|||
|
|||
I was able to create a new template called bbcode_video, then inserted the code for the full screen button.
It doesn't seem to have any effect.... |
#53
|
||||
|
||||
Styles & Templates –> Style Manager –> –> BBCode Layout Templates –> bbcode_video
Under the style you are editing, you shall find BBCode Layout Templates. Double click on it and you shall find the bbcode_video template under it as a "sub-template". There is no need to create a new one. |
#54
|
||||
|
||||
Updated and should work now with 4.0.6.
|
#55
|
||||
|
||||
what was updated because all seems to work with 4.0.6
|
#56
|
|||
|
|||
Just installed on 4.0.6
All working perfectly so far! Thanks!! |
#57
|
||||
|
||||
Since 4.0.5 (or 4.0.4 not sure) the default bbcode_video code had changed. SO just modified the original post to reflect the new code as present in 4.0.6.
|
#58
|
||||
|
||||
Thanks for the update. Let's hope it hasn't changed again in 407.
|
#59
|
|||
|
|||
My 4.0.7 testboard install managed a successful template merge.
So all should be well. |
#60
|
||||
|
||||
Thank you for a simple, yet brilliant mod
|
#61
|
|||
|
|||
installed, thanks!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|