Changeset 1249
- Timestamp:
- 08/30/10 10:59:01 (3 years ago)
- Location:
- branches/html5
- Files:
-
- 3 edited
-
jwplayer.html5.js (modified) (3 diffs)
-
src/html5/jwplayer.html5.mediavideo.js (modified) (1 diff)
-
src/html5/jwplayer.html5.utils.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/html5/jwplayer.html5.js
r1245 r1249 37 37 /** Returns the extension of a file name **/ 38 38 jwplayer.html5.utils.extension = function(path) { 39 return path.substr(path.lastIndexOf('.') + 1, path.length) ;39 return path.substr(path.lastIndexOf('.') + 1, path.length).toLowerCase(); 40 40 }; 41 41 … … 1701 1701 if (!_start && _container.readyState > 0) { 1702 1702 _start = true; 1703 //alert(_model.playlist[_model.item].start);1704 1703 _container.currentTime = _model.playlist[_model.item].start; 1705 1704 _container.volume = _model.volume / 100; … … 1873 1872 _embed = function(playlistItem) { 1874 1873 var vid = _container.ownerDocument.createElement("video"); 1875 if (vid.autobuffer) { 1876 vid.autobuffer = _model.config.autoplay; 1877 } else if (vid.autoplay) { 1878 vid.autoplay = _model.config.autoplay; 1879 } 1874 vid.preload = "none"; 1880 1875 vid.loop = _model.config.repeat; 1881 1876 for (var sourceIndex in playlistItem.levels) { -
branches/html5/src/html5/jwplayer.html5.mediavideo.js
r1245 r1249 297 297 _embed = function(playlistItem) { 298 298 var vid = _container.ownerDocument.createElement("video"); 299 if (vid.autobuffer) { 300 vid.autobuffer = _model.config.autoplay; 301 } else if (vid.autoplay) { 302 vid.autoplay = _model.config.autoplay; 303 } 299 vid.preload = "none"; 304 300 vid.loop = _model.config.repeat; 305 301 for (var sourceIndex in playlistItem.levels) { -
branches/html5/src/html5/jwplayer.html5.utils.js
r1239 r1249 16 16 /** Returns the extension of a file name **/ 17 17 jwplayer.html5.utils.extension = function(path) { 18 return path.substr(path.lastIndexOf('.') + 1, path.length) ;18 return path.substr(path.lastIndexOf('.') + 1, path.length).toLowerCase(); 19 19 }; 20 20
Note: See TracChangeset
for help on using the changeset viewer.
