CHANGELOG ========= ## HEAD (Unreleased) * Updated the UI to support live video ([view](https://github.com/videojs/video.js/pull/1121)) * The UI now resets after a source change ([view](https://github.com/videojs/video.js/pull/1124)) * Now assuming smart CSS defaults for sliders to prevent reflow on player init ([view](https://github.com/videojs/video.js/pull/1122)) * Fixed the title element placement in menus [[view](https://github.com/videojs/video.js/pull/1114)] -------------------- ## 4.5.2 (2014-04-12) * Updated release versioning to include bower.json and component.json ## 4.5.1 (2014-03-27) * Fixed a bug from the last release where canPlaySource was no longer exported ## 4.5.0 (2014-03-27) * Added component(1) support ([view](https://github.com/videojs/video.js/pull/1032)) * Captions now move down when controls are hidden ([view](https://github.com/videojs/video.js/pull/1053)) * Added the .less source file to the distribution files ([view](https://github.com/videojs/video.js/pull/1056)) * Changed src() to return the current selected source ([view](https://github.com/videojs/video.js/pull/968)) * Added a grunt task for opening the next issue that needs addressing ([view](https://github.com/videojs/video.js/pull/1059)) * Fixed Android 4.0+ devices' check for HLS support ([view](https://github.com/videojs/video.js/pull/1084)) ## 4.4.3 (2014-03-06) * Fixed bugs in IE9 Windows 7N with no Media Player ([view](https://github.com/videojs/video.js/pull/1060)) * Fixed a bug with setPoster() in the minified version ([view](https://github.com/videojs/video.js/pull/1062)) ## 4.4.2 (2014-02-24) * Fixed module.exports in minified version ([view](https://github.com/videojs/video.js/pull/1038)) ## 4.4.1 (2014-02-18) * Added .npmignore so dist files wouldn't be ignored in packages ## 4.4.0 (2014-02-18) * Made the poster updateable after initialization ([view](https://github.com/videojs/video.js/pull/838)) * Exported more textTrack functions ([view](https://github.com/videojs/video.js/pull/815)) * Moved player ID generation to support video tags with no IDs ([view](https://github.com/videojs/video.js/pull/845)) * Moved to using QUnit as a dependency ([view](https://github.com/videojs/video.js/pull/850)) * Added the util namespace for public utility functions ([view](https://github.com/videojs/video.js/pull/862)) * Fixed an issue with calling duration before Flash is loaded ([view](https://github.com/videojs/video.js/pull/861)) * Added player methods to externs so they can be overridden ([view](https://github.com/videojs/video.js/pull/878)) * Fixed html5 playback when switching between media techs ([view](https://github.com/videojs/video.js/pull/887)) * Fixed Firefox+Flash mousemove events so controls don't hide permanently ([view](https://github.com/videojs/video.js/pull/899)) * Fixed a test for touch detection ([view](https://github.com/videojs/video.js/pull/962)) * Updated the src file list for karma tests ([view](https://github.com/videojs/video.js/pull/948)) * Added more tests for API properties after minification ([view](https://github.com/videojs/video.js/pull/906)) * Updated projet to use npm version of videojs-swf ([view](https://github.com/videojs/video.js/pull/930)) * Added support for dist zipping on windows ([view](https://github.com/videojs/video.js/pull/944)) * Fixed iOS fullscreen issue ([view](https://github.com/videojs/video.js/pull/977)) * Fixed touch event bubbling ([view](https://github.com/videojs/video.js/pull/992)) * Fixed ARIA role attribute for button and slider ([view](https://github.com/videojs/video.js/pull/988)) * Fixed an issue where a component's dispose event would bubble up ([view](https://github.com/videojs/video.js/pull/981)) * Quieted down deprecation warnings ([view](https://github.com/videojs/video.js/pull/971)) * Updated the seek handle to contain the current time ([view](https://github.com/videojs/video.js/pull/902)) * Added requirejs and browserify support (UMD) ([view](https://github.com/videojs/video.js/pull/998)) ## 4.3.0 (2013-11-04) * Added Karma for cross-browser unit testing ([view](https://github.com/videojs/video.js/pull/714)) * Unmuting when the volume is changed ([view](https://github.com/videojs/video.js/pull/720)) * Fixed an accessibility issue with the big play button ([view](https://github.com/videojs/video.js/pull/777)) * Exported user activity methods ([view](https://github.com/videojs/video.js/pull/783)) * Added a classname to center the play button and new spinner options ([view](https://github.com/videojs/video.js/pull/784)) * Added API doc generation ([view](https://github.com/videojs/video.js/pull/801)) * Added support for codecs in Flash mime types ([view](https://github.com/videojs/video.js/pull/805)) ## 4.2.2 (2013-10-15) * Fixed a race condition that would cause videos to fail in Firefox ([view](https://github.com/videojs/video.js/pull/776)) ## 4.2.1 (2013-09-09) * Fixed an infinite loop caused by loading the library asynchronously ([view](https://github.com/videojs/video.js/pull/727)) ## 4.2.0 (2013-09-04) * Added LESS as a CSS preprocessor for the default skin ([view](https://github.com/videojs/video.js/pull/644)) * Exported MenuButtons for use in the API ([view](https://github.com/videojs/video.js/pull/648)) * Fixed ability to remove listeners added with one() ([view](https://github.com/videojs/video.js/pull/659)) * Updated buffered() to account for multiple loaded ranges ([view](https://github.com/videojs/video.js/pull/643)) * Exported createItems() for custom menus ([view](https://github.com/videojs/video.js/pull/654)) * Preventing media events from bubbling up the DOM ([view](https://github.com/videojs/video.js/pull/630)) * Major reworking of the control bar and many issues fixed ([view](https://github.com/videojs/video.js/pull/672)) * Fixed an issue with minifiying the code on Windows systems ([view](https://github.com/videojs/video.js/pull/683)) * Added support for RTMP streaming through Flash ([view](https://github.com/videojs/video.js/pull/605)) * Made tech.features available to external techs ([view](https://github.com/videojs/video.js/pull/705)) * Minor code improvements ([view](https://github.com/videojs/video.js/pull/706)) * Updated time formatting to support NaN and Infinity ([view](https://github.com/videojs/video.js/pull/627)) * Fixed an `undefined` error in cases where no tech is loaded ([view](https://github.com/videojs/video.js/pull/632)) * Exported addClass and removeClass for player components ([view](https://github.com/videojs/video.js/pull/661)) * Made the fallback message customizable ([view](https://github.com/videojs/video.js/pull/638)) * Fixed an issue with the loading spinner placement and rotation ([view](https://github.com/videojs/video.js/pull/694)) * Fixed an issue with fonts being flaky in IE8 ## 4.1.0 (2013-06-28) * Turned on method queuing for unready playback technologies (flash) [view](https://github.com/videojs/video.js/pull/553) * Blocking user text selection on player components [view](https://github.com/videojs/video.js/pull/524) * Exported requestFullScreen() and cancelFullScreen() in the minified version [view](https://github.com/videojs/video.js/pull/555) * Exported the global players reference, videojs.players [view](https://github.com/videojs/video.js/pull/560) * Added google analytics to the CDN version ([view](https://github.com/videojs/video.js/pull/568)) * Exported fadeIn/fadeOut for the Component API ([view](https://github.com/videojs/video.js/pull/581)) * Fixed an IE poster error when autoplaying ([view](https://github.com/videojs/video.js/pull/593)) * Exported bufferedPercent for the API ([view](https://github.com/videojs/video.js/pull/588)) * Augmented user agent detection, specifically for Android versions ([view](https://github.com/videojs/video.js/pull/470)) * Fixed IE9 canPlayType error ([view](https://github.com/videojs/video.js/pull/606)) * Fixed various issues with captions ([view](https://github.com/videojs/video.js/pull/609)) ## 4.0.4 (2013-06-11) * Added google analytics to current CDN version. ([view](https://github.com/videojs/video.js/pull/571)) ## 4.0.3 (2013-05-28) * Fixed an bug with exiting fullscreen. [view](https://github.com/videojs/video.js/pull/546) ## 4.0.2 (2013-05-23) * Correct version number for CDN swf url. Minify CSS. [view](https://github.com/videojs/video.js/pull/535) ## 4.0.1 (2013-05-22) * Fixed old IE font loading [view](https://github.com/videojs/video.js/pull/532) ## 4.0.0 (2013-05-09) * Improved performance through an 18% size reduction using Google Closure Compiler in advanced mode * Greater stability through an automated cross-browser/device test suite using TravisCI, Bunyip, and Browserstack. * New plugin interface and plugin listing for extending Video.js * New default skin design that uses font icons for greater customization * Responsive design and retina display support * Improved accessibility through better ARIA support * Moved to Apache 2.0 license * 100% JavaScript development tool set including Grunt * Updated docs to use Github markdown * Allow disabling of default components * Duration is now setable (need ed for HLS m3u8 files) * Event binders (on/off/one) now return the player instance * Stopped player from going back to beginning on ended event * Added support for percent width/height and fluid layouts * Improved load order of elements to reduce reflow * Changed addEvent function name to 'on' * Removed conflicting array.indexOf function * Added exitFullScreen to support BlackBerry devices (pull/143) ## 3.2.0 (2012-03-20) * Updated docs with more options. * Overhauled HTML5 Track support. * Fixed Flash always autoplaying when setting source. * Fixed localStorage context * Updated 'fullscreenchange' event to be called even if the user presses escape to exit fullscreen. * Automatically converting URsource URL to absolute for Flash fallback. * Created new 'loadedalldata' event for when the source is completely downloaded * Improved player.destroy(). Now removes elements and references. * Refactored API to be more immediately available. ### Patches * 3.2.1 (2012-04-06) Fixed setting width/height with javascript options * 3.2.2 (2012-05-02) Fixed error with multiple controls fading listeners * 3.2.3 (2012-11-12) Fixed chrome spinner continuing on seek ## 3.1.0 (2012-01-30) * Added CSS fix for Firefox 9 fullscreen (in the rare case that it's enabled) * Replaced swfobject with custom embed to save file size. * Added flash iframe-mode, an experimental method for getting around flash reloading issues. * Fixed issue with volume knob position. Improved controls fading. * Fixed ian issue with triggering fullscreen a second time. * Fixed issue with getting attributes in Firefox 3.0 * Escaping special characters in source URL for Flash * Added a check for if Firefox is enabled which fixes a Firefox 9 issue * Stopped spinner from showing on 'stalled' events since browsers sometimes don't show that they've recovered. * Fixed CDN Version which was breaking dev.html * Made full-window mode more independent * Added rakefile for release generation ## 3.0.0 (2012-01-10) * Same HTML/CSS Skin for both HTML5 and Flash video * Super lightweight Flash fallback player for browsers that don’t support HTML5 video * Free CDN hosting ### Patches * 3.0.2 (2012-01-12) Started tracking changes with zenflow * 3.0.3 (2012-01-12) Added line to docs to test zenflow * 3.0.4 (2012-01-12) Fixing an undefined source when no sources exist on load * 3.0.5 (2012-01-12) Removed deprecated event.layerX and layerY * 3.0.6 (2012-01-12) Fixed wrong URL for CDN in docs * 3.0.7 (2012-01-12) Fixed an ie8 breaking bug with the poster * 3.0.8 (2012-01-23) Fixed issue with controls not hiding in IE due to no opacity support