| View previous topic :: View next topic |
|
ddreg 3 thumbs up


Joined: 09 May 2008 Posts: 162 Location: Pnt.ot.Mtn, bunny hill
|
Posted: Wed Feb 08, 2012 2:44 pm Post subject: Youtube embeds and fullscreen |
#1 |
Is it just me or since the YouTube tag was implemented here, I don't get the full screen button on the YouTube embedded videos anymore?
Media BLOCKED
Please REGISTER and log in to see this content
|
|
|
|
|
sg 3 thumbs up


Joined: 17 Jul 2006 Posts: 11030
|
Posted: Wed Feb 08, 2012 3:44 pm Post subject: |
#2 |
Just click on the youtube logo, will jump off to the full youtube page with that video, then go fullscreen
_________________
H4, AT, FL, TFL, AWCL, CL, FSL, RLF, TUR, X-C
Aeros Stealth III 142
| Thomas Jefferson wrote: |
| All tyranny needs to gain a foothold is for people of good conscience to remain silent. |
|
|
|
|
OverloadUT

Joined: 06 Feb 2012 Posts: 24 Location: Novato, CA
|
Posted: Thu Feb 09, 2012 4:47 pm Post subject: |
#3 |
The problem is the YouTube tag is injecting the old <object> based embed code, rather than the newer, much better iframe based embed code. The webdev should be able to fix this by changing the code.
|
|
|
|
Fred Wilson 1 thumbs up


Joined: 03 Apr 2009 Posts: 1544 Location: Vernon BC Canada
|
|
|
|
gasdive 2 thumbs up


Joined: 12 Aug 2009 Posts: 1161 Location: port macquarie australia
|
|
|
|
ddreg 3 thumbs up


Joined: 09 May 2008 Posts: 162 Location: Pnt.ot.Mtn, bunny hill
|
Posted: Thu Feb 09, 2012 9:24 pm Post subject: |
#6 |
Looks like what the Youtube tag template needs is:
<param
name="allowFullScreen"
value="true">
</param>
If its using the <object> tag.
http://beerpla.net/2010/01/12/are-your-youtube-video-embeds-missing-the-full-screen-button-here-is-how-to-fix-it/
Sometimes I'll play an embedded video here and If it looks interesting enough then I'll want to go full screen then realize there isn't a full screen button. I have to go to youtube and rebuffer the whole thing again.
So I take it its not just some setting in my browser? Other people have that problem too?
|
|
|
|
Dawson 3 thumbs up


Joined: 25 Jun 2008 Posts: 297 Location: Lake Macquarie, Oz
|
Posted: Thu Feb 09, 2012 10:12 pm Post subject: |
#7 |
actually, ddreg, there's a tiny little bit more to it than just adding the <param name="allowFullScreen" value="true" >tag.
1 - append &fs=1 to the the url in the <param name="movie" tag
2 - append &fs=1 to the src parameter of the <embed tag
3 - add the <param name="allowFullScreen" ga After the <param name="movie" but before the <embed tag
4 - add allowfullscreen="true" to the embed tag
SG, I tested these with firebug on this page and it seems to work without any issue, but I don't know if these are incompatible with other work you've done on this site.
The resulting html for the above youtube movie is: - note, phpbb is html encoding the ampersands in the two urls - obviously they should be ampersands not &s
<object height="350" width="425">
<param name="movie" value="http://www.youtube.com/v/ilmY-0ZB8Jg&fs=1">
<param value="true" name="allowFullScreen">
<embed height="350" width="425" allowfullscreen="true" src="http://www.youtube.com/v/ilmY-0ZB8Jg&fs=1" type="application/x-shockwave-flash">
</object>
Dawson
_________________ Delta Bronze
Delta Silver
Aerotow (HG)
Ground Tow (HG)
VHF Radio Operations
Pilot Certificate (HG) Advanced
Safety Officer (HG)
Airborne Sting 2XC 175 |
|
|
|
|