WebAIM - Web Accessibility In Mind

E-mail List Archives

Accessible YouTube Player in lightbox?

for

From: Rick Hill
Date: Aug 26, 2013 5:15PM


We need to display captioned YouTube videos in a lightbox (not just embedded in the page).

Looks like the only solution is to display the player tools external to the YouTube player through the YouTube API to make them accessible. As in:

http://simplyaccessible.com/article/keyboard-accessible-youtube-controls/

Or http://wac.osu.edu/examples/youtube-player-controls/
Or maybe https://github.com/nomensa/Accessible-Media-Player

And others.

Questions … anyone done this in a lightbox window? How to get the lightbox window to gain focus when it opens and keep the focus in the player window while open. How to not only provide access to the payer controls (play, volume, cc) but alos access to close the [player window and return focus to the appropriate location in the calling page?

-------------------------------------------------------------------
Rick Hill, Web CMS Administrator
Strategic Communications, UC Davis