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)

Videx 07-07-2010 12:36 PM

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?

Sadikb 07-07-2010 03:45 PM

Quote:

Originally Posted by Videx (Post 2065836)
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?

Hi... sorry guys haven't updated this. That's because I haven't upgraded to 4.0.4. Am planning to give that version a miss. Will update this mod when 4.0.5 comes out.

fxwoody 07-10-2010 09:33 AM

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 ;)

Fungsten 07-15-2010 07:52 PM

Quote:

Originally Posted by abdulbasitsaeed (Post 2065644)
It actually does work with 4.0.4 too. The new and old templates don't match, and hence you need to revert to the default template. If you have already done that during the upgrade to 4.0.4,

Go to Styles & Templates –> Style Manager –> –> BBCode Layout Templates –> bbcode_video:

Find:

Code:

<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>

and replace it with:

Code:

<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}" />
    <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>

Hope this works for you. :)

I'm on 4.0.5. It doesn't work.

XLCR GODFATHER 07-18-2010 02:24 AM

Me Also on 4.0.5 and does not work.

CvP 07-18-2010 04:41 AM

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).

Fungsten 07-18-2010 07:32 PM

Quote:

Originally Posted by CvP (Post 2070939)
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).

Nevermind I found it.

On Edit:
Still doesn't work.

Videx 07-18-2010 07:55 PM

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.

XLCR GODFATHER 07-22-2010 01:35 AM

Quote:

Originally Posted by Videx (Post 2071219)
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.

This worked thank you.

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.

PRadden 08-05-2010 12:10 PM

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?

PRadden 08-05-2010 01:33 PM

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....

abdulbasitsaeed 08-06-2010 12:48 AM

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.

Sadikb 08-22-2010 10:37 PM

Updated and should work now with 4.0.6.

Hippy 08-22-2010 11:09 PM

what was updated because all seems to work with 4.0.6

ComoEstaEso-com 09-08-2010 04:33 AM

Just installed on 4.0.6
All working perfectly so far! :)

Thanks!!

Sadikb 09-13-2010 04:23 PM

Quote:

Originally Posted by Hippy (Post 2088028)
what was updated because all seems to work with 4.0.6

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.

Videx 09-13-2010 07:05 PM

Thanks for the update. Let's hope it hasn't changed again in 407.

trilogy33 09-16-2010 02:45 PM

Quote:

Originally Posted by Videx (Post 2097716)
Thanks for the update. Let's hope it hasn't changed again in 407.

My 4.0.7 testboard install managed a successful template merge.
So all should be well. :)

rouvio 09-23-2010 09:04 AM

Thank you for a simple, yet brilliant mod :)

jacobsen1 09-24-2010 01:06 PM

installed, thanks!

ravencr 09-24-2010 05:12 PM

Can this be done for Facebook videos, and if so, how?

Chris

Raeven 10-12-2010 10:50 AM

Very nice, thank you (works with 4.0.7)

shahin531 10-12-2010 05:15 PM

question:

For example, links for vimeo :
1 - http:\/\/(?:www\.)?vimeo\.com\/([0-9]+)
2 - http://vimeo.com/moogaloop.swf?clip_id={vb:raw code}

For example, links for youtube
1 - http:\/\/www\.youtube\.com\/watch\?.*v=([a-z0-9-_]+)
2 - http://www.youtube.com/v/{vb:raw code}

IMDB What are the links?

Gn_Snake 01-09-2011 08:29 PM

I have the 4.1.0 Pl2 version of Vbulletin.
I made the change but it duplicates the youtube video?

Any idea?

Videx 01-09-2011 08:35 PM

Quote:

Originally Posted by Gn_Snake (Post 2146627)
I have the 4.1.0 Pl2 version of Vbulletin.
I made the change but it duplicates the youtube video?

I believe I read in one of the change logs that this functionality is now included in vb.?

Sadikb 01-10-2011 02:09 AM

Sorry guys but I haven't upgraded to 4.1. So I have not yet been able to test.

shcchief 03-05-2011 08:40 AM

how would one get this to work for youtube videos posted in the vB CMS?

Sadikb 03-05-2011 10:53 AM

Quote:

Originally Posted by shcchief (Post 2169773)
how would one get this to work for youtube videos posted in the vB CMS?

As of VB 4.1.2 this is incorporated in VBulletin Core. So this MOD is no longer necessary.

shcchief 03-05-2011 12:19 PM

Quote:

Originally Posted by Sadikb (Post 2169791)
As of VB 4.1.2 this is incorporated in VBulletin Core. So this MOD is no longer necessary.

Fair enough, and thanks for replying, however would it possible for me to do it manually so I don't have to update etc

Thanks mate :)

edit: I'm on 4.0.2

Sadikb 03-05-2011 12:32 PM

Yes sure. This Mod however has HTML which was changed in 4.0.6. So you may not Find the code as given here. However the html which you are supposed to add will still work. Tell you what I am free right now so if you drop me a PM in the next 10 mins, with your board's login details I can add the code for you. But that's just for now.

If not, what you need to do is find the HTML code for object element for Youtube and replace it with the one provided here.

Sadikb 03-08-2011 11:54 AM

Hi schchief,

Got your PM. Could you post the code of your bbcode_video template here. If you do I can give you instructions on what to change.

doobiefillin 03-22-2011 02:21 PM

an update would be nice

Sadikb 03-22-2011 03:03 PM

Quote:

Originally Posted by doobiefillin (Post 2176208)
an update would be nice

This is included in core in VB 4.1.2 so updating is no longer necessary.

david fernandez 05-01-2011 04:08 AM

simple easy and great THANK YOU VERY MUCH

goxy63 11-29-2011 04:38 PM

how about google?

did try few things but its not working for me :(

Videx 11-29-2011 04:50 PM

Quote:

Originally Posted by goxy63 (Post 2273083)
how about google?

did try few things but its not working for me :(

Huh? Google is Youtube now.

goxy63 11-29-2011 05:11 PM

Whatever whats this than :D ?
http://video.google.com/videoplay?do...10942610525872

I fixed it anyways

Videx 11-29-2011 06:42 PM

Quote:

Originally Posted by goxy63 (Post 2273089)
Whatever whats this than :D ?
http://video.google.com/videoplay?do...10942610525872

I fixed it anyways

They're giving everyone more time to move videos to youtube, but it's impossible to say how long that might last - they already announced closure once, only to reverse themselves a week later. Still, they haven't accepted a new video since 2009.

goxy63 02-23-2014 12:48 AM

How to change new default VB code in order to have full screen, did try several things but nothing, this is new code, now its iframe:

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}" 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}" frameborder="0" ></iframe>

Thank you

Videx 02-23-2014 01:29 AM

Wow a two year old resurrection! I had actually long ago forgotten about this mod. But I just tracked down a recent embed on our forum and it's got full screen. Either the change I made long ago is still working, or Youtube finally fixed the issue.


All times are GMT. The time now is 05:03 PM.

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.01336 seconds
  • Memory Usage 1,819KB
  • 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
  • (12)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
  • (40)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