mirror of
https://github.com/kmoskwiak/videojs-resolution-switcher.git
synced 2025-10-03 17:59:42 +02:00
fix issue #14
This commit is contained in:
parent
894c9fe2bd
commit
0409fdb6a7
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
var videojs = null;
|
var videojs = null;
|
||||||
if(typeof window.videojs === 'undefined' && typeof require === 'function') {
|
if(typeof window.videojs === 'undefined' && typeof require === 'function') {
|
||||||
videojs = require('videojs');
|
videojs = require('video.js');
|
||||||
} else {
|
} else {
|
||||||
videojs = window.videojs;
|
videojs = window.videojs;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue