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