vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Full Screen Button in Youtube embedded Videos (https://vborg.vbsupport.ru/showthread.php?t=238243)

goxy63 02-23-2014 08:56 AM

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} &amp;fs=0&amp;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} &amp;fs=0&amp;iv_load_policy=3" frameborder="0"></iframe>

note part in red, added to remove annotations + full screen option...

wondering why default code is not working well with full screen ?

hivitro 08-26-2016 02:24 AM

Its work great, i can use full screen,but youtube dont like anymore x-shockwave-flash @2016 and i go back.

Ty.

attilio 08-29-2016 07:17 AM

Full screen button not active in my vb 4.2.4.

Has anyone got the up-to-date template code for this version?

scott1822 07-30-2017 02:37 AM

Quote:

Originally Posted by attilio (Post 2575318)
Full screen button not active in my vb 4.2.4.

Has anyone got the up-to-date template code for this version?

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>


ramesh_umk3 03-16-2018 05:19 AM

Replace the youtube SRC with below code

Code:

//www.youtube.com/embed/{vb:raw code}?modestbranding=1&amp;version=3&amp;showinfo=0&amp;FS=0&amp;rel=0
Thanks

tbellik 12-19-2018 10:29 AM

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 ?


All times are GMT. The time now is 04:40 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01198 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete