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 |
#82
|
|||
|
|||
I reverted template and now its not working, default code as mentioned above is not same so.... for me is not working now and I am not sure how to fix that
using following code which removes option for full screen: Code:
<vb:elseif condition="$provider == 'youtube'" /> <iframe class="restrain" title="YouTube video player" width="512" height="308" src="//www.youtube.com/embed/{vb:raw code}?wmode={vb:raw wmode} &fs=0&iv_load_policy=3" frameborder="0"></iframe> <vb:elseif condition="$provider == 'youtube_share'" /> <iframe class="restrain" title="YouTube video player" width="512" height="308" src="//www.youtube.com/embed/{vb:raw code}?wmode={vb:raw wmode} &fs=0&iv_load_policy=3" frameborder="0"></iframe> wondering why default code is not working well with full screen ? |
#83
|
|||
|
|||
Its work great, i can use full screen,but youtube dont like anymore x-shockwave-flash @2016 and i go back.
Ty. |
#84
|
||||
|
||||
Full screen button not active in my vb 4.2.4.
Has anyone got the up-to-date template code for this version? |
#85
|
||||
|
||||
Quote:
Code:
<vb:elseif condition="$provider == 'youtube' OR $provider == 'youtube_share'" /> <iframe width="640" height="360" src="https://www.youtube.com/embed/{vb:raw code}?wmode={vb:raw wmode}" frameborder="0" allowfullscreen></iframe> |
#86
|
|||
|
|||
Replace the youtube SRC with below code
Code:
//www.youtube.com/embed/{vb:raw code}?modestbranding=1&version=3&showinfo=0&FS=0&rel=0 |
#87
|
|||
|
|||
Hey I have 4.2.3 but want to make youtube videos full screen.
I didnt get thi code in my vbulletin, how can I make this ? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|