diff --git a/lib/videojs-resolution-switcher.js b/lib/videojs-resolution-switcher.js index ed8e488..60d45ed 100644 --- a/lib/videojs-resolution-switcher.js +++ b/lib/videojs-resolution-switcher.js @@ -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; }