Accessihacking Online Video

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    4 Favorites

    Accessihacking Online Video - Presentation Transcript

    1. Accessihacking YouTube Christian Heilmann, BarCamp Brighton, March 2008
    2. How do you make Powerpoint and PDF files accessible?
    3. Option #1: Learn about all the settings of Acrobat and Powerpoint.
    4. Do not want!
    5. Option #2: Upload the file to slideshare.net!
    6. Screenshot of slideshare.net, which automatically generated a text representation of the slides for you
    7. How do you make online video accessible?
    8. Option #1: Pay for transcription and captioning, offer timed captions in some random binary formats and pray that some player will support it.
    9. Do not want!
    10. Do online video services have captioning high on their priority list?
    11. Not really.
    12. Do they miss out because of that?
    13. Totally!
    14. Why?
    15. Accessible captions in an easy format = SEO win!
    16. Does answering your own questions make you look like a pretentious idiot?
    17. Totally!
    18. Option #2: De-moronify comments by giving people an incentive to stick to the subject at hand.
    19. Viddler does it.
    20. Screenshot of a video on viddler.com with timed comments.
    21. Viddler is not that big and known though.
    22. We want mainstream accessibility.
    23. Solution: Hack the planet system.
    24. How do you hack a system the legal way?
    25. Use an API!
    26. YouTube JavaScript API = full of win!
    27. Win #1: Built on top of SWFObject
    28. <div id=\"video\"> <a href=\"muffy.mpg\"> video of a cute kitten (MPG, 2MB) </a> </div> <script type=\"text/javascript\"> var params = {allowScriptAccess:'always'}; var atts = {id:'player'}; swfobject.embedSWF(\"http://www.youtube.com/v/ T4y6M2AeQ00&amp;border=0&amp;enablejsapi=1&amp;pl ayerapiid=ytplayer\", \"video\", \"425\", \"356\", \"8\", null, null, params, atts); </script>
    29. Win #2: Built with events
    30. <script type=\"text/javascript\"> // do stuff, the player is ready! function onYouTubePlayerReady(id){ // get the player v = document.getElementById('player'); // do stuff when the player state changes v.addEventListener('onStateChange', 'onPlayerStateChange'); // do stuff when there is a player error v.addEventListener('onError', 'onPlayerError'); } </script>
    31. Player states: unstarted (-1) ended (0) playing (1) paused (2) buffering (3) video cued (5).
    32. Win #3: Lots of methods
    33. playVideo, pauseVideo, stopVideo, clearVideo, getVideoBytesLoaded, getVideoBytesTotal, getVideoStartBytes, mute,unMute, isMuted, setVolume, getVolume, seekTo, getPlayerState, getCurrentTime, getDuration, addEventListener, getVideoUrl, getVideoEmbedCode
    34. The important ones for this hack:
    35. playVideo, pauseVideo, stopVideo, clearVideo, getVideoBytesLoaded, getVideoBytesTotal, getVideoStartBytes, mute,unMute, isMuted, setVolume, getVolume, seekTo, getPlayerState, getCurrentTime, getDuration, addEventListener, getVideoUrl, getVideoEmbedCode
    36. getCurrentTime() gives us the time of the video and seekTo() jumps to the section of the video and plays from there.
    37. Battle plan!
    38. ★ Create form after video when the player is ready. ★ Every time the player is paused, create timestamp link and comment field. ★ Writeserver side control to create list of comments
    39. http://icant.co.uk/sandbox/youtube-captioning.html
    40. transcript = { \"url\":\"http://www.youtube.com/v/ T4y6M2AeQ00&amp;border=0&amp;enablejsapi=1&amp;pl ayerapiid=ytplayer\", \"entries\":[ {\"t\":\"2.937\", \"c\":\"Cat descending staircase\"}, {\"t\":\"48.668\", \"c\":\"Siouxie in nice dress\"}, {\"t\":\"106.95\", \"c\":\"Siouxie on sofa\"}, {\"t\":\"178.55\", \"c\":\"Get a haircut!\"} ] }
    41. Where is this going?
    42. Broadway.
    43. ★ The YouTube team like the idea. ★ Stanford university is working on a flash player with captions and like it. ★ Someone on GeekUp is writing a GreaseMonkey script to hack YouTube ★ I will pester Yahoo! video ★ I’ll be back in two week’s time :)
    44. Things I asked for:
    45. Ability to pass in the JSON object that will fire events with the text at the defined time - this would allow us to populate a form field to tell screen readers what is going on.
    46. The reason is that you seem not to be able to focus an element when the Flash player is on.
    47. THANKS! Chris Heilmann http://wait-till-i.com

    + Christian HeilmannChristian Heilmann, 2 years ago

    custom

    4570 views, 4 favs, 7 embeds more stats

    My presentation for Barcamp Brighton about how you more

    More info about this document

    CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

    Go to text version

    • Total Views 4570
      • 4239 on SlideShare
      • 331 from embeds
    • Comments 0
    • Favorites 4
    • Downloads 47
    Most viewed embeds
    • 303 views on http://www.wait-till-i.com
    • 20 views on http://icant.co.uk
    • 4 views on http://barcampbrighton2.backnetwork.com
    • 1 views on http://www.hanrss.com
    • 1 views on http://localhost:8888

    more

    All embeds
    • 303 views on http://www.wait-till-i.com
    • 20 views on http://icant.co.uk
    • 4 views on http://barcampbrighton2.backnetwork.com
    • 1 views on http://www.hanrss.com
    • 1 views on http://localhost:8888
    • 1 views on http://joerybruijntjes.nl
    • 1 views on http://localhost

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories