diff --git a/src/js/video.js b/src/js/video.js index f591efe7ab..eb4529e8d1 100644 --- a/src/js/video.js +++ b/src/js/video.js @@ -55,7 +55,7 @@ if (typeof HTMLVideoElement === 'undefined') { * @mixes videojs * @method videojs */ -let videojs = function(id, options, ready){ +function videojs(id, options, ready){ let tag; // Element of ID // Allow for element or ID to be passed in @@ -99,7 +99,7 @@ let videojs = function(id, options, ready){ // Element may have a player attr referring to an already created player instance. // If not, set up a new player and return the instance. return tag['player'] || Player.players[tag.playerId] || new Player(tag, options, ready); -}; +} // Add default styles if (window.VIDEOJS_NO_DYNAMIC_STYLE !== true) {