No, I have a feeling that the Flash runtime is stealing the keyboard
focus, and there's no way that you could extend the YouTube player
itself to communicate the keypress to a JavaScript callback on your
page.
Cheers,
-Jeff Posnick, YouTube API Team
~ YouTube is hiring! ~ http://google.com/jobs/workyoutube ~
On Jun 1, 4:50 am, vikky <vikas1...@gmail.com> wrote:
> Hi
>
> On my website, i have embeded the youtube video using the swfobject
> and images/videos are displayed in a modal div, which have a listener
> for keydown event and on clicking of Esc key it close the modal div.
>
> When i launch my website in IE browser and click somewhere in the
> youtube video, I am not able to recieve keydown event in the modal
> div.
>
> Is there anyway so that i can told the youtube player to listen the
> keydown event and execute my javascript function on this event.
>
> For other's browser, it is working fine.
--
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