I just wanted to post a quick note saying that I've added fullscreen support to the YouTube embedded player.
In order to use this feature with your API applications you'll need to make some slight modifications to your existing embed code.
First you'll need to add the allowfullscreen=true parameter and attribute to your object/embed tags - for an example of this you can head to any video page on YouTube and grab the embed code to see what this looks like - here's an example with the new code highlighted in yellow:
You'll also need to add a new player parameter to the player url (or as a flashvar) called 'fs' and set it to '1' (I've highlighted this new param in pink in the example above).
Please try it out and let me know how you like it or if you have any issues.
I liked it, after testing i noticed that the fullscreen option appears
as a button in the youtube player, but could it be activated
automatically without clicking the area in the player ¿, it is because
i have my own controls.
Thanks you.
quenotacom
On Jul 3, 1:50 am, "Geoff Stearns" <tensafefr...@google.com> wrote:
> I just wanted to post a quick note saying that I've added fullscreen support
> to the YouTube embedded player.
> In order to use this feature with your API applications you'll need to make
> some slight modifications to your existing embed code.
> First you'll need to add the allowfullscreen=true parameter and attribute to
> your object/embed tags - for an example of this you can head to any video
> page on YouTube and grab the embed code to see what this looks like - here's
> an example with the new code highlighted in yellow:
> You'll also need to add a new player parameter to the player url (or as a
> flashvar) called 'fs' and set it to '1' (I've highlighted this new param in
> pink in the example above).
> Please try it out and let me know how you like it or if you have any issues.
Not via javascript - the Flash plugin requires that the user clicks to initiate the fullscreen option.
I haven't extensively tested how it works when loading the swf into another swf (I know people have done fullscreen with the chromeless player, but not the embedded player yet).
On Fri, Jul 4, 2008 at 12:22 PM, quenotacom <webmas...@quenota.com> wrote:
> Geoff,
> I liked it, after testing i noticed that the fullscreen option appears > as a button in the youtube player, but could it be activated > automatically without clicking the area in the player ¿, it is because > i have my own controls.
> Thanks you. > quenotacom
> On Jul 3, 1:50 am, "Geoff Stearns" <tensafefr...@google.com> wrote: > > Hi all,
> > I just wanted to post a quick note saying that I've added fullscreen > support > > to the YouTube embedded player.
> > In order to use this feature with your API applications you'll need to > make > > some slight modifications to your existing embed code.
> > First you'll need to add the allowfullscreen=true parameter and attribute > to > > your object/embed tags - for an example of this you can head to any video > > page on YouTube and grab the embed code to see what this looks like - > here's > > an example with the new code highlighted in yellow:
> > You'll also need to add a new player parameter to the player url (or as a > > flashvar) called 'fs' and set it to '1' (I've highlighted this new param > in > > pink in the example above).
> > Please try it out and let me know how you like it or if you have any > issues.
will this work with the chromeless player? i allowed fullscreen to the
flash object and i added &fs=1 to the url for the chromeless player,
and it didnt seem to do anything
On Jul 3, 1:50 am, "Geoff Stearns" <tensafefr...@google.com> wrote:
> I just wanted to post a quick note saying that I've added fullscreen support
> to the YouTube embedded player.
> In order to use this feature with your API applications you'll need to make
> some slight modifications to your existing embed code.
> First you'll need to add the allowfullscreen=true parameter and attribute to
> your object/embed tags - for an example of this you can head to any video
> page on YouTube and grab the embed code to see what this looks like - here's
> an example with the new code highlighted in yellow:
> You'll also need to add a new player parameter to the player url (or as a
> flashvar) called 'fs' and set it to '1' (I've highlighted this new param in
> pink in the example above).
> Please try it out and let me know how you like it or if you have any issues.
> will this work with the chromeless player? i allowed fullscreen to the
> flash object and i added &fs=1 to the url for the chromeless player,
> and it didnt seem to do anything
> On Jul 3, 1:50 am, "Geoff Stearns" <tensafefr...@google.com> wrote:
> > Hi all,
> > I just wanted to post a quick note saying that I've added fullscreen support
> > to the YouTube embedded player.
> > In order to use this feature with your API applications you'll need to make
> > some slight modifications to your existing embed code.
> > First you'll need to add the allowfullscreen=true parameter and attribute to
> > your object/embed tags - for an example of this you can head to any video
> > page on YouTube and grab the embed code to see what this looks like - here's
> > an example with the new code highlighted in yellow:
> > You'll also need to add a new player parameter to the player url (or as a
> > flashvar) called 'fs' and set it to '1' (I've highlighted this new param in
> > pink in the example above).
> > Please try it out and let me know how you like it or if you have any issues.
It does not, because there are no buttons in the chromeless player.
It is possible to display the chromeless player in fullscreen mode by loading it into your own swf and then making that swf go fullscreen, and resizing the chromeless player within your swf to fill the screen.
The JW flv player supports this if you want to see an example of it working:
http://www.jeroenwijering.com/?page=wizard&example=8 (you have to enable fullscreen mode in the options before the button will show up). I just noticed that he has some scaling issues with the youtube logo when it goes into fullscreen, but it should be easy enough to fix that.
On Mon, Jul 7, 2008 at 3:15 PM, dd <ni...@ishiboo.com> wrote:
> will this work with the chromeless player? i allowed fullscreen to the > flash object and i added &fs=1 to the url for the chromeless player, > and it didnt seem to do anything
> On Jul 3, 1:50 am, "Geoff Stearns" <tensafefr...@google.com> wrote: > > Hi all,
> > I just wanted to post a quick note saying that I've added fullscreen > support > > to the YouTube embedded player.
> > In order to use this feature with your API applications you'll need to > make > > some slight modifications to your existing embed code.
> > First you'll need to add the allowfullscreen=true parameter and attribute > to > > your object/embed tags - for an example of this you can head to any video > > page on YouTube and grab the embed code to see what this looks like - > here's > > an example with the new code highlighted in yellow:
> > You'll also need to add a new player parameter to the player url (or as a > > flashvar) called 'fs' and set it to '1' (I've highlighted this new param > in > > pink in the example above).
> > Please try it out and let me know how you like it or if you have any > issues.
> It does not, because there are no buttons in the chromeless player.
> It is possible to display the chromeless player in fullscreen mode by
> loading it into your own swf and then making that swf go fullscreen, and
> resizing the chromeless player within your swf to fill the screen.
> The JW flv player supports this if you want to see an example of it working:
> http://www.jeroenwijering.com/?page=wizard&example=8(you have to enable
> fullscreen mode in the options before the button will show up). I just
> noticed that he has some scaling issues with the youtube logo when it goes
> into fullscreen, but it should be easy enough to fix that.
> On Mon, Jul 7, 2008 at 3:15 PM, dd <ni...@ishiboo.com> wrote:
> > will this work with the chromeless player? i allowed fullscreen to the
> > flash object and i added &fs=1 to the url for the chromeless player,
> > and it didnt seem to do anything
> > On Jul 3, 1:50 am, "Geoff Stearns" <tensafefr...@google.com> wrote:
> > > Hi all,
> > > I just wanted to post a quick note saying that I've added fullscreen
> > support
> > > to the YouTube embedded player.
> > > In order to use this feature with your API applications you'll need to
> > make
> > > some slight modifications to your existing embed code.
> > > First you'll need to add the allowfullscreen=true parameter and attribute
> > to
> > > your object/embed tags - for an example of this you can head to any video
> > > page on YouTube and grab the embed code to see what this looks like -
> > here's
> > > an example with the new code highlighted in yellow:
> > > You'll also need to add a new player parameter to the player url (or as a
> > > flashvar) called 'fs' and set it to '1' (I've highlighted this new param
> > in
> > > pink in the example above).
> > > Please try it out and let me know how you like it or if you have any
> > issues.- Tekst uit oorspronkelijk bericht niet weergeven -
> I just wanted to post a quick note saying that I've added fullscreen support
> to the YouTube embedded player.
> In order to use this feature with your API applications you'll need to make
> some slight modifications to your existing embed code.
> First you'll need to add the allowfullscreen=true parameter and attribute to
> your object/embed tags - for an example of this you can head to any video
> page on YouTube and grab the embed code to see what this looks like - here's
> an example with the new code highlighted in yellow:
> You'll also need to add a new player parameter to the player url (or as a
> flashvar) called 'fs' and set it to '1' (I've highlighted this new param in
> pink in the example above).
> Please try it out and let me know how you like it or if you have any issues.
I'm trying to get the player loaded fullscreen, as well. The JW player
would be a solution but it has issues resizing the logo, as you say.
According to Jeroen "There's no way to control the size / position of
the YouTube logo." ( see http://www.jeroenwijering.com/?thread=8446 )
I'm going to try to write my own actionscript wrapper for the
chromeless player- basically just to get fullscreen working
correctly.
Would you have any tips on how to avoid the oversized logo?
Thanks,
Ben
On Jul 7, 3:39 pm, "Geoff Stearns" <tensafefr...@google.com> wrote:
> It does not, because there are no buttons in the chromeless player.
> It is possible to display the chromeless player in fullscreen mode by
> loading it into your own swf and then making that swf go fullscreen, and
> resizing the chromeless player within your swf to fill the screen.
> The JW flv player supports this if you want to see an example of it working:
> http://www.jeroenwijering.com/?page=wizard&example=8(you have to enable
> fullscreen mode in the options before the button will show up). I just
> noticed that he has some scaling issues with the youtube logo when it goes
> into fullscreen, but it should be easy enough to fix that.
> On Mon, Jul 7, 2008 at 3:15 PM, dd <ni...@ishiboo.com> wrote:
> > will this work with the chromeless player? i allowed fullscreen to the
> > flash object and i added &fs=1 to the url for the chromeless player,
> > and it didnt seem to do anything
> > On Jul 3, 1:50 am, "Geoff Stearns" <tensafefr...@google.com> wrote:
> > > Hi all,
> > > I just wanted to post a quick note saying that I've added fullscreen
> > support
> > > to the YouTube embedded player.
> > > In order to use this feature with your API applications you'll need to
> > make
> > > some slight modifications to your existing embed code.
> > > First you'll need to add the allowfullscreen=true parameter and attribute
> > to
> > > your object/embed tags - for an example of this you can head to any video
> > > page on YouTube and grab the embed code to see what this looks like -
> > here's
> > > an example with the new code highlighted in yellow:
> > > You'll also need to add a new player parameter to the player url (or as a
> > > flashvar) called 'fs' and set it to '1' (I've highlighted this new param
> > in
> > > pink in the example above).
> > > Please try it out and let me know how you like it or if you have any
> > issues.
> I'm trying to get the player loaded fullscreen, as well. The JW player > would be a solution but it has issues resizing the logo, as you say. > According to Jeroen "There's no way to control the size / position of > the YouTube logo." ( see http://www.jeroenwijering.com/?thread=8446 )
> I'm going to try to write my own actionscript wrapper for the > chromeless player- basically just to get fullscreen working > correctly.
> Would you have any tips on how to avoid the oversized logo?
> Thanks, > Ben
> On Jul 7, 3:39 pm, "Geoff Stearns" <tensafefr...@google.com> wrote: > > It does not, because there are no buttons in the chromeless player.
> > It is possible to display the chromeless player in fullscreen mode by > > loading it into your own swf and then making that swf go fullscreen, and > > resizing the chromeless player within your swf to fill the screen.
> > The JW flv player supports this if you want to see an example of it > working:
> > On Mon, Jul 7, 2008 at 3:15 PM, dd <ni...@ishiboo.com> wrote:
> > > will this work with the chromeless player? i allowed fullscreen to the > > > flash object and i added &fs=1 to the url for the chromeless player, > > > and it didnt seem to do anything
> > > On Jul 3, 1:50 am, "Geoff Stearns" <tensafefr...@google.com> wrote: > > > > Hi all,
> > > > I just wanted to post a quick note saying that I've added fullscreen > > > support > > > > to the YouTube embedded player.
> > > > In order to use this feature with your API applications you'll need > to > > > make > > > > some slight modifications to your existing embed code.
> > > > First you'll need to add the allowfullscreen=true parameter and > attribute > > > to > > > > your object/embed tags - for an example of this you can head to any > video > > > > page on YouTube and grab the embed code to see what this looks like - > > > here's > > > > an example with the new code highlighted in yellow:
> > > > You'll also need to add a new player parameter to the player url (or > as a > > > > flashvar) called 'fs' and set it to '1' (I've highlighted this new > param > > > in > > > > pink in the example above).
> > > > Please try it out and let me know how you like it or if you have any > > > issues.
On 8 jul, 00:39, "Geoff Stearns" <tensafefr...@google.com> wrote:
> It does not, because there are no buttons in the chromeless player.
That's the charme about the chromeless player, there aren't any
buttons, not even a play button. But there is a function available to
start a video. And another one to stop it. It would be really nice to
have a full screen function without building my own swf. Is it a
technical issue or a political issue?
It's more of a technical / UI issue - you can only invoke fullscreen mode in the Flash Player if it is triggered by a direct user action, like a mouse click. So adding a javascript method to open fullscreen wouldn't work.
On Wed, Aug 20, 2008 at 7:24 AM, zwiet <p...@cammap.nl> wrote:
> Hi Geoff,
> On 8 jul, 00:39, "Geoff Stearns" <tensafefr...@google.com> wrote: > > It does not, because there are no buttons in the chromeless player.
> That's the charme about the chromeless player, there aren't any > buttons, not even a play button. But there is a function available to > start a video. And another one to stop it. It would be really nice to > have a full screen function without building my own swf. Is it a > technical issue or a political issue?
> It's more of a technical / UI issue - you can only invoke fullscreen mode in
> the Flash Player if it is triggered by a direct user action, like a mouse
> click. So adding a javascript method to open fullscreen wouldn't work.
> On Wed, Aug 20, 2008 at 7:24 AM, zwiet <p...@cammap.nl> wrote:
> > Hi Geoff,
> > On 8 jul, 00:39, "Geoff Stearns" <tensafefr...@google.com> wrote:
> > > It does not, because there are no buttons in the chromeless player.
> > That's the charme about the chromeless player, there aren't any
> > buttons, not even a play button. But there is a function available to
> > start a video. And another one to stop it. It would be really nice to
> > have a full screen function without building my own swf. Is it a
> > technical issue or a political issue?
The fullscreen mode is a feature of Adobe's Flash Player. Because of security concerns, you can only go into fullscreen mode if the user clicks on the swf somewhere, and the swf captures the mouse event.
Because the chromeless player has no buttons, that's not possible. You can't trigger the fullscreen mode via Javascript, as that would allow anyone to trigger the fullscreen mode automatically.
On Wed, Aug 20, 2008 at 4:42 PM, zdravko <email.workBe...@gmail.com> wrote:
> Geoff,
> The more that I try to understand your explanation the less I > understand it.
> Regards.
> On Aug 20, 1:05 pm, "Geoff Stearns" <tensafefr...@google.com> wrote: > > It's more of a technical / UI issue - you can only invoke fullscreen mode > in > > the Flash Player if it is triggered by a direct user action, like a mouse > > click. So adding a javascript method to open fullscreen wouldn't work.
> > On Wed, Aug 20, 2008 at 7:24 AM, zwiet <p...@cammap.nl> wrote:
> > > Hi Geoff,
> > > On 8 jul, 00:39, "Geoff Stearns" <tensafefr...@google.com> wrote: > > > > It does not, because there are no buttons in the chromeless player.
> > > That's the charme about the chromeless player, there aren't any > > > buttons, not even a play button. But there is a function available to > > > start a video. And another one to stop it. It would be really nice to > > > have a full screen function without building my own swf. Is it a > > > technical issue or a political issue?