Making YouTube easier and more accessible (updated 12/06)Thursday, June 12th, 2008 at 9:35 am
Warning: The YouTube API is flaky at the moment, so there might be some outages!
At this year’s Accessibility2.0 conference in London Antonia Hyde from United Response asked the audience for technological solutions to make the social web easier accessible for people with learning disabilities.
Her presentation Rich Media and web apps for people with learning disabilities is available on slideshare.
Whilst not being able to tackle all the issues mentioned (probably the biggest one being captioning) I took some time to play with the YouTube API to create a much easier interface to watch videos. The following screenshot shows the Easy YouTube Player in action:
Using the player
You can use the player in several ways, the easiest is to just copy and paste a youtube url in the url field. However, there is also a sort of REST interface that allows you to do more:
Shows the player without any movie loaded, empty search fields and playlists.
Pre-loads the video of this YouTube address and shows the preview image in the player.
Performs a search on YouTube for the term panda and shows links to the videos in the playlist on the right. You can use more than one search word by adding them with a “+”. For example:
One last option you have is to bookmark certain videos on del.icio.us and tag them for a user. In order to show these videos as a playlist you need to provide your user name and the tag separated by a dash. For example my user name on del.icio.us is “codepo8” and I bookmarked some videos with the tag “easyyoutubeplayer”. The following link will show them all in the playlist:
You can mix and match the different options. If you for example want to show a video and perform a search for other videos you can use:
The full player documentation with instructions on how to host the player yourself is available in the docs folder Easy YouTube Player documentation.
You can download the player with all the demo files here:
- complete re-write of code
- new buttons – glass were too complex
- added video size control
- added search and playlist support
- added address field to send to friends
- player now template driven – no more changes in main code needed
- added documentation
- added RESTful interface
- moved buttons to the bottom of the player
- text is now below the buttons and has an invisible extra “use this button to ” text for screen readers
- pause button now toggles pause/play
- mute button now toggles mute/sound
- the URL of the buttons is not an anchor but a url now (that goes nowhere, but this is just to read out the right command)
- removed the “current highlight” state
- added a volume level indicator (as a visual bar and a hidden form field)