mirror of
https://github.com/videojs/video.js.git
synced 2025-09-16 09:26:56 +02:00
Fixed CDN Version that was breaking dev.html.
Fixed Double auto-setup
This commit is contained in:
@@ -21,5 +21,4 @@ along with Video.js. 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;
|
||||||
CDN_VERSION = "GENERATED_CDN_VSN";
|
|
@@ -2,8 +2,5 @@
|
|||||||
// Expose to global
|
// Expose to global
|
||||||
window.VideoJS = window._V_ = VideoJS;
|
window.VideoJS = window._V_ = VideoJS;
|
||||||
|
|
||||||
// Run Auto-load players
|
|
||||||
_V_.autoSetup();
|
|
||||||
|
|
||||||
// End self-executing function
|
// End self-executing function
|
||||||
})(window);
|
})(window);
|
@@ -38,7 +38,10 @@ var VideoJS = function(id, addOptions, ready){
|
|||||||
},
|
},
|
||||||
|
|
||||||
// Shortcut
|
// Shortcut
|
||||||
_V_ = VideoJS;
|
_V_ = VideoJS,
|
||||||
|
|
||||||
|
// CDN Version. Used to target right flash swf.
|
||||||
|
CDN_VERSION = "GENERATED_CDN_VSN";
|
||||||
|
|
||||||
VideoJS.players = {};
|
VideoJS.players = {};
|
||||||
|
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
_V_.addEvent(window, "load", function(){
|
_V_.addEvent(window, "load", function(){
|
||||||
_V_.windowLoaded = true;
|
_V_.windowLoaded = true;
|
||||||
});
|
});
|
||||||
_V_.autoSetupTimeout();
|
|
||||||
|
// Run Auto-load players
|
||||||
|
_V_.autoSetup();
|
Reference in New Issue
Block a user