1
0
mirror of https://github.com/videojs/video.js.git synced 2025-04-11 11:42:08 +02:00

Switched main lib to 2.0.

This commit is contained in:
Steve Heffernan 2010-11-22 09:56:54 -08:00
parent 74f5e85eb4
commit dd4f79abfd
9 changed files with 881 additions and 2344 deletions

View File

@ -1,6 +1,6 @@
VideoJS - [HTML5 Video Player](http://videojs.com)
==================================================
Version 1.2.0
Version 2.0.0
View [VideoJS.com](http://videojs.com) for a demo and overview.
@ -45,9 +45,9 @@ Change the video and image files to your own. You can even swap out the Flash Fa
<div class="video-js-box">
<!-- Using the Video for Everybody Embed Code http://camendesign.com/code/video_for_everybody -->
<video id="example_video_1" class="video-js" width="640" height="264" poster="http://video-js.zencoder.com/oceans-clip.png" controls preload>
<source src="http://video-js.zencoder.com/oceans-clip.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
<source src="http://video-js.zencoder.com/oceans-clip.webm" type='video/webm; codecs="vp8, vorbis"'>
<source src="http://video-js.zencoder.com/oceans-clip.ogv" type='video/ogg; codecs="theora, vorbis"'>
<source src="http://video-js.zencoder.com/oceans-clip.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
<source src="http://video-js.zencoder.com/oceans-clip.webm" type='video/webm; codecs="vp8, vorbis"' />
<source src="http://video-js.zencoder.com/oceans-clip.ogv" type='video/ogg; codecs="theora, vorbis"' />
<!-- Flash Fallback. Use any flash video player here. Make sure to keep the vjs-flash-fallback class. -->
<object id="flash_fallback_1" class="vjs-flash-fallback" width="640" height="264" type="application/x-shockwave-flash"
data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf">
@ -127,17 +127,23 @@ Set options when setting up the videos. The defaults are shown here.
Coming Next
-----------
- API to Flash fallback
Changelog
---------
1.2.0
2.0.0 (2010-11-21)
- Feature: Switched back to divs for controls, for more portable styles.
- Feature: Added play button for Android.
- Feature: Created "behaviors" concept for adding behaviors to elements
- Feature: Switched back to divs for controls, for more portable styles
- Feature: Created playerFallbackOrder array option. ["html5", "flash", "links"]
- Feature: Created playerType concept, for initializing different platforms
- Feature: Added play button for Android
- Feature: Added spinner for iPad (non-fullscreen)
- Feature: Split into multiple files for easier development
- Feature: Combined VideoJS & _V_ into the same variable to reduce confusion
- Fix: Checking for m3u8 files (Apple HTTP Streaming)
- Fix: Catching error on localStorage full that safari seems to randomly throw
- Fix: Scrubbing to end doesn't trigger onEnded
1.1.5 (2010-11-09)

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
/*
VideoJS - HTML5 Video Player
v1.2.0
v2.0.0
This file is part of VideoJS. Copyright 2010 Zencoder, Inc.

View File

@ -33,7 +33,7 @@ VideoJS.player.newBehavior("player", function(player){
// Buffer watching method for load progress.
// Used for browsers that don't support the progress event
trackBuffered: function(){
this.bufferedInterval = setInterval(this.triggerBufferedListeners.context(this), 100);
this.bufferedInterval = setInterval(this.triggerBufferedListeners.context(this), 200);
},
stopTrackingBuffered: function(){ clearInterval(this.bufferedInterval); },
bufferedListeners: [],

View File

@ -1,6 +1,6 @@
/*
VideoJS HuCSS Skin (http://videojs.com)
Version 1.2.0
Version 2.0.0
*/
.hu-css .vjs-controls {

View File

@ -1,6 +1,6 @@
/*
VideoJS TubeCSS Skin (http://videojs.com)
Version 1.2.0
Version 2.0.0
*/
.tube-css .vjs-controls {

View File

@ -1,6 +1,6 @@
/*
VideoJS VimCSS Skin (http://videojs.com)
Version 1.2.0
Version 2.0.0
*/
.vim-css .vjs-controls {

View File

@ -1,6 +1,6 @@
/*
VideoJS Default Styles (http://videojs.com)
Version 1.2.0
Version 2.0.0
REQUIRED STYLES (be careful overriding)
================================================================================ */

1532
video.js

File diff suppressed because it is too large Load Diff