You should just be able to tab into the control area on the HTML5
<video> player when starting on the containing page. I just tried
doing so on
http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html
using Chrome on OS X, and it worked fine. Doing something special with
the focus shouldn't be needed.
The Flash player is a different story, though. If you saw some issues
with tabbing into the controls, maybe the <iframe> embed was using the
Flash player?
Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev
On Mar 6, 1:47 am, Ginny Hendry <ginnyhen...@gmail.com> wrote:
> I've got the video running on my web page and everything is OK except
> this: For accessibility the web page should be usable without a mouse
> but the only way to get at the keyboard actions in the YouTube player
> is to click on the video with the mouse and then use the keyboard to
> navigate to the various YouTube controls.
>
> I really need to set focus or trigger a click event from JQuery that
> will have the same effect as the user clicking on the video with a
> mouse, but I haven't been able to figure out how to do that. What ID
> can accept focus or a click event?
>
> It's the HTML5 player so I expect the place to put this is in the
> onReady event of onYouTubePlayerAPIReady.
>
> Any ideas?
>
> Thanks.
--
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