[Commits] svn commit: 8619

Subversion Database Process svn at thor.atrc.utoronto.ca
Mon Nov 9 00:21:38 UTC 2009

r8619 | colin | 2009-11-08 19:21:38 -0500 (Sun, 08 Nov 2009) | 5 lines
Changed paths:
   M /incubator/videoPlayer/html/VideoPlayer.html
   M /incubator/videoPlayer/js/VideoPlayer.js

FLUID-3372: Basic built-in VideoPlayer support for graceful degradation to the YouTube player in non-HTML 5 browsers. This is achieved through "media renderers" registered to the MIME type of the video source passed in as an option to the player. This now allows for one-shot creation of a Video Player that supports a wider range of browsers, without the need to nest your own additional markup in the HTML.

This code should probably be refactored to use SWFObject instead of raw DOM injection. Also need to think a little bit about fake mime types like the one used for YouTube. Interesting question: can our player chrome actually control the YouTube player and sync captions to it?


More information about the Commits mailing list