Saturday, August 3, 2013
Adding Video To Your Web Pages
HTML5 Video accepts 3 different file types mp4, webm and ogg. Not all file types are supported in all browsers except the Chrome 6+ browser will support all three file types. You can use Chrome to determine if your video is working before you test it for operation in other browsers. Order of the video source files is important. The order should be mp4, webm followed by ogg. This is because some tablets may hang if they do not see the mp4 file type first. Instead of adding a fall back text statement in case your video does not play in HTML 5 you can add a flash media player. Adding a player can be accomplished using http://osmf.org/configurator/fmp/# to get html code for your page in three easy steps. A width of "720" and height of "480" is a good starting point for video players. Don't forget to add the attribute "control" so that users can click to start your video. New audio / video files require transcripts to be compliant with the WCAG 2.0 Web Content Accessibility Guidelines.
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment