FLUID-3103: First commit of a new drafty Infusion component for playing HTML 5 videos and synchronizing captions to them. We'll use this for the final report Web site to show screencasts of Infusion components. Needs FSS-ization, which Jacob has kindly offered to help with.

svn path=/incubator/videoPlayer/; revision=7877
FLUID-3103: Very fast pass on styling the player. video is forced to as wide as the container, vcr controls are adjacent to scrubber.

svn path=/incubator/videoPlayer/; revision=7881
FLUID-3155: Updated Video Player to degrade gracefully in non-HTML 5 browsers. This is performed by doing a feature check on the presence of HTMLMediaElement and bailing on setup if it's not found. This needs to be normalized with planned progressive enhancement features in the framework, but will suffice for now.


svn path=/incubator/videoPlayer/; revision=7893
FLUID-3159: Added Alison's latest Slider a11y patch, ensuring that the videoPlayer has sufficient ARIA support to be awesome. This could use some real-world testing still.

Other bug fixes:
 * Worked around the fact that FF 3.5 doesn't implement video.startTime
 * Better conversion of video to Ogg format for FF


svn path=/incubator/videoPlayer/; revision=7894
FLUID-3153: Added a work around for captions that don't have inTimeMilli and outTimeMilli

svn path=/incubator/videoPlayer/; revision=7913
FLUID-3153: Tweak to the CSS to show multi line captions

svn path=/incubator/videoPlayer/; revision=7945
FLUID-3153: Fixed the issue of some captions not being displayed. 

svn path=/incubator/videoPlayer/; revision=7948
FLUID-3367: Bind the scrubber set up code to HTML 5 video's "durationchange" event instead of "load" to ensure that the scrubber is usable before the video has entirely downloaded from the server.


svn path=/incubator/videoPlayer/; revision=8616
FLUID-3368: Moved the code to update the Play/Pause button's text status out into listeners for the HTML 5 video play and pause events. This way, the button always stays up to date with the video's play status. Also added code to initially disable the button until the video can play. Added a handful of comments to aid understanding, at least until we get some unit tests for this thing.


svn path=/incubator/videoPlayer/; revision=8617
FLUID-3371: General cleanup. Moved setCaption out into Video Player's public API. Split the in/out time normalization code into a separate function. Linted and added license statement.


svn path=/incubator/videoPlayer/; revision=8618
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?


svn path=/incubator/videoPlayer/; revision=8619
FLUID-3374: Initial styling tweaks with help from Jacob. Still need to do the button and handle width issues.


svn path=/incubator/videoPlayer/; revision=8637
ENGAGE-140: A bunch of changes to get the video player displaying and working

svn path=/incubator/videoPlayer/; revision=8651
ENGAGE-140: Fix for video player

svn path=/incubator/videoPlayer/; revision=8653
FLUID-3379: Fixed the hardcoded url to the inlineEdit screencast for the youTube version, by replacing that bit in the string by mediaSource.src

svn path=/incubator/videoPlayer/; revision=8656
FLUID-3372: Updated YouTube media renderer to use swfObject. This significantly simplifies the code and hopefully fixes our IE bug.


svn path=/incubator/videoPlayer/; revision=8658
FLUID-3372: Temporarily removing graceful degradation code for IE support.


svn path=/incubator/videoPlayer/; revision=8661
FLUID-3374: First pass at a better video player UI. Includes new temp ogv video to play.

svn path=/incubator/videoPlayer/; revision=8678
FLUID-3374: added support for play/pause state graphics, changed caption shadowing.

svn path=/incubator/videoPlayer/; revision=8679
FLUID-3392, FLUID-3393, FLUID-3397: Added unit tests to track down the errors that were being thrown in Internet Explorer. Fixed these issues by actively remove the <video> tag from the DOM if we're on IE. Replaced our semi-working HTML 5 video check with the scheme recommended by Mark Pilgrim in Dive into HTML 5. Created a better set of test videos based on Jesse Dylan's Creative Commons video, "A Shared Culture" (http://creativecommons.org/videos/a-shared-culture).


svn path=/incubator/videoPlayer/; revision=8773