mirror of
https://github.com/videojs/video.js.git
synced 2025-01-31 11:26:45 +02:00
@gkatsev fixed minified vjs in ie8 when initialized with id string. closes #3357
This commit is contained in:
parent
40cf2730b9
commit
8d5a1b1193
@ -3,6 +3,7 @@ CHANGELOG
|
||||
|
||||
## HEAD (Unreleased)
|
||||
* @gkatsev pinned dependencies to direct versions ([view](https://github.com/videojs/video.js/pull/3338))
|
||||
* @gkatsev fixed minified vjs in ie8 when initialized with id string ([view](https://github.com/videojs/video.js/pull/3357))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user