Thursday, May 3, 2012

[YouTube-API] Re: Enable HTML5 Videos Using Cookie

Hello Pierce,

No, this isn't something that we support.

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Apr 30, 4:50 pm, Pierce <piercefree...@gmail.com> wrote:
> Hi Jeffrey:
>
> Thanks for your reply.  If I'm running the code in a WebKit browser that I
> control, can I set the cookie then?  The issue is that I always need it in
> HTML5, even if they have Flash installed.
>
>
>
>
>
>
>
> On Wednesday, April 4, 2012 10:54:09 AM UTC-7, Jeffrey Posnick wrote:
>
> > Hello Pierce,
>
> >  You can't set the cookie from your own site.
>
> >  You shouldn't have to worry about this, though. If you view a
> > <iframe> embed in a browser that doesn't have Flash installed, it will
> > automatically attempt to use HTML5 <video> (assuming the browser
> > supports that). This is independent of the cookie.
>
> > Cheers,
> > -Jeff Posnick, YouTube API Team
> > groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> > @YouTubeDev
>
> > On Mar 31, 7:49 pm, Pierce <piercefree...@gmail.com> wrote:
> > > Hi All:
>
> > > I'm creating a Mac application with its own WebKit-based browser and
> > since
> > > I'm aiming for it to be Flash independent, I would like to enable
> > YouTube's
> > > HTML5 videos by default.  I want to accomplish the equivalent of going
> > to
> > > youtube.com/html5 and clicking the "Join the HTML5 Trial" button,
> > except in
> > > the background using cookies.  However, as of yet I have been unable to
> > > guess how YouTube is setting this - the /html5 page submits a form and
> > > seemingly doesn't create a cookie.
>
> > > Thanks for any help.

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment