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';
|
||||
var videojs = null;
|
||||
if(typeof window.videojs === 'undefined' && typeof require === 'function') {
|
||||
videojs = require('videojs');
|
||||
videojs = require('video.js');
|
||||
} else {
|
||||
videojs = window.videojs;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue