mirror of
https://github.com/videojs/video.js.git
synced 2025-07-03 00:57:02 +02:00
Added licence info back to top of script.
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
$(function(){
|
$(function(){
|
||||||
var tech, i,
|
var tech, i,
|
||||||
techList = ["html5","h5swf"],
|
techList = ["html5","h5swf"],
|
||||||
props = "error,currentSrc,networkState,buffered,readyState,seeking,initialTime,duration,startOffsetTime,paused,played,seekable,ended,videoWidth,videoHeight,textTracks,preload,currentTime,playbackRate,autoplay,loop,controls,volume,muted,defaultMuted".split(","),
|
props = "error,currentSrc,networkState,buffered,readyState,seeking,initialTime,duration,startOffsetTime,paused,played,seekable,ended,videoWidth,videoHeight,textTracks,preload,currentTime,defaultPlaybackRate,playbackRate,autoplay,loop,controls,volume,muted,defaultMuted".split(","),
|
||||||
methods = "play,pause,src,load,canPlayType,addTextTrack",
|
methods = "play,pause,src,load,canPlayType,addTextTrack",
|
||||||
notUsed = "mediaGroup,controller,videoTracks,audioTracks,defaultPlaybackRate";
|
notUsed = "mediaGroup,controller,videoTracks,audioTracks,defaultPlaybackRate";
|
||||||
|
|
||||||
@ -9,8 +9,6 @@ $(function(){
|
|||||||
for (i=0; i < techList.length; i++) {
|
for (i=0; i < techList.length; i++) {
|
||||||
tech = techList[i];
|
tech = techList[i];
|
||||||
|
|
||||||
_V_.log(_V_.el("vid"+(i+1)))
|
|
||||||
|
|
||||||
var player = _V_("vid"+(i+1), { "techOrder":[tech] });
|
var player = _V_("vid"+(i+1), { "techOrder":[tech] });
|
||||||
|
|
||||||
_V_.each(_V_.html5Events, function(evt){
|
_V_.each(_V_.html5Events, function(evt){
|
||||||
|
@ -1,3 +1,23 @@
|
|||||||
|
/*
|
||||||
|
VideoJS - HTML5 Video Player
|
||||||
|
Version 3.0 BETA
|
||||||
|
|
||||||
|
This file is part of VideoJS. Copyright 2011 Zencoder, Inc.
|
||||||
|
|
||||||
|
VideoJS is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
VideoJS is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with VideoJS. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
// Self-executing function to prevent global vars and help with minification
|
// Self-executing function to prevent global vars and help with minification
|
||||||
;(function(window, undefined){
|
;(function(window, undefined){
|
||||||
var document = window.document;
|
var document = window.document;
|
||||||
|
@ -81,8 +81,6 @@ var VideoJS = _V_ = function(id, addOptions, ready){
|
|||||||
_V_.merge(options, this.getVideoTagSettings()); // Override with Video Tag Options
|
_V_.merge(options, this.getVideoTagSettings()); // Override with Video Tag Options
|
||||||
_V_.merge(options, addOptions); // Override/extend with options from setup call
|
_V_.merge(options, addOptions); // Override/extend with options from setup call
|
||||||
|
|
||||||
_V_.log(addOptions)
|
|
||||||
|
|
||||||
// Empty video tag sources and tracks so the built in player doesn't use them also.
|
// Empty video tag sources and tracks so the built in player doesn't use them also.
|
||||||
if (tag.hasChildNodes()) {
|
if (tag.hasChildNodes()) {
|
||||||
for (var i=0,j=tag.childNodes;i<j.length;i++) {
|
for (var i=0,j=tag.childNodes;i<j.length;i++) {
|
||||||
|
Reference in New Issue
Block a user