From 0409fdb6a74750d213d12ca7c005499b1ac8ecc1 Mon Sep 17 00:00:00 2001 From: Kasper Moskwiak Date: Mon, 9 Nov 2015 09:29:51 +0100 Subject: [PATCH] fix issue #14 --- lib/videojs-resolution-switcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }