Youtube embeds and fullscreen - Hang Gliding Org - Worlds largest Hang Gliding community, discover Hang Gliding

Search

  • Sorry...You must register to activate searching









Post new topic   Reply to topic    Hang Gliding Org Forum Index -> Bug reports and requests->Youtube embeds and fullscreen
BURY this topic
View previous topic :: View next topic  
ddreg
3 thumbs up
3 thumbs up


Joined: 09 May 2008
Posts: 162
Location: Pnt.ot.Mtn, bunny hill

PostPosted: Wed Feb 08, 2012 2:44 pm    Post subject: Youtube embeds and fullscreen Reply with quote #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
Send private message  Rate this post
sg
3 thumbs up
3 thumbs up


Joined: 17 Jul 2006
Posts: 11030

PostPosted: Wed Feb 08, 2012 3:44 pm    Post subject: Reply with quote #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.
Send private message Blog  Rate this post
OverloadUT



Joined: 06 Feb 2012
Posts: 24
Location: Novato, CA

PostPosted: Thu Feb 09, 2012 4:47 pm    Post subject: Reply with quote #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. Smile
Send private message  Rate this post
Fred Wilson
1 thumbs up
1 thumbs up


Joined: 03 Apr 2009
Posts: 1544
Location: Vernon BC Canada

PostPosted: Thu Feb 09, 2012 8:24 pm    Post subject: Reply with quote #4   
What is the trick for the reverse issue?
Buddy posted a PG film of flying Yamaska in Quebec
But it goes to Full Screen HD only. Only way out seems to be to escape and quit. Not what I want.

See http://www.youtube.com/embed/ilmY-0ZB8Jg

- I want to run it in small screen off to the side while I do other work.

Any hints?

_________________
Thermaling Tips + Cross Country Coaching Manuals + RASP Wiki
____________________

Avatar:
http://www.facebook.com/pages/Vuelo-Libre-M%C3%A9xico/111894915509032?ref=ts&fref=ts
Send private message Blog  Rate this post
gasdive
2 thumbs up
2 thumbs up


Joined: 12 Aug 2009
Posts: 1161
Location: port macquarie australia

PostPosted: Thu Feb 09, 2012 8:43 pm    Post subject: Reply with quote #5   
Make the url look like this

http://www.youtube.com/watch?v=ilmY-0ZB8Jg&


Link

_________________
Jason Rogers,
http://zerods.blogspot.com/
http://slow-cook.blogspot.com
http://thingsineverunderstood.blogspot.com/
Lock a diver in an empty room for an hour with three ball bearings. On your return, one will be lost, one will be broken and one will be stolen.
Send private message  Rate this post
ddreg
3 thumbs up
3 thumbs up


Joined: 09 May 2008
Posts: 162
Location: Pnt.ot.Mtn, bunny hill

PostPosted: Thu Feb 09, 2012 9:24 pm    Post subject: Reply with quote #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. ahh

So I take it its not just some setting in my browser? Other people have that problem too?
Send private message  Rate this post
Dawson
3 thumbs up
3 thumbs up


Joined: 25 Jun 2008
Posts: 297
Location: Lake Macquarie, Oz

PostPosted: Thu Feb 09, 2012 10:12 pm    Post subject: Reply with quote #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 &amp;s

<object height="350" width="425">
<param name="movie" value="http://www.youtube.com/v/ilmY-0ZB8Jg&amp;fs=1">
<param value="true" name="allowFullScreen">
<embed height="350" width="425" allowfullscreen="true" src="http://www.youtube.com/v/ilmY-0ZB8Jg&amp;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
Send private message  Rating: 3 thumbs up
Display posts from previous:   
Post new topic   Reply to topic    Hang Gliding Org Forum Index -> Bug reports and requests
 
All times are GMT - 8 Hours
Page 1 of 1


 
Jump to:  


(c) HangGliding.org All rights reserved. Based on PhpBB