diff options
-rw-r--r-- | librevideojs-html5-player.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/librevideojs-html5-player.php b/librevideojs-html5-player.php index 55d5de1..0743475 100644 --- a/librevideojs-html5-player.php +++ b/librevideojs-html5-player.php @@ -86,7 +86,7 @@ if (!class_exists('LIBREVIDEOJS_HTML5_PLAYER')) { function librevideojs_html5_player_enqueue_scripts() { if (!is_admin()) { $plugin_url = plugins_url('', __FILE__); - wp_register_script('librevideojs', $plugin_url . '/librevideojs/js/cliplibrejs.dev.js', true); + wp_register_script('librevideojs', $plugin_url . '/librevideojs/js/cliplibrejs.dev.js', array(), LIBREVIDEOJS_HTML5_PLAYER_VERSION); wp_enqueue_script('librevideojs'); wp_register_style('librevideojs-mix-master-style', $plugin_url . '/librevideojs/css/mix-material/master.css'); wp_enqueue_style('librevideojs-mix-master-style'); @@ -94,7 +94,7 @@ function librevideojs_html5_player_enqueue_scripts() { wp_enqueue_style('librevideojs-material-style'); wp_register_style('librevideojs-style', $plugin_url . '/librevideojs-html5-player.css'); wp_enqueue_style('librevideojs-style'); - wp_register_script('librevideojs-selector', $plugin_url . '/librevideojs/selector/video-quality-selector.js', true); + wp_register_script('librevideojs-selector', $plugin_url . '/librevideojs/selector/video-quality-selector.js', array(), LIBREVIDEOJS_HTML5_PLAYER_VERSION); wp_enqueue_script('librevideojs-selector'); wp_register_style('librevideojs-selector', $plugin_url . '/librevideojs/selector/video-quality-selector.css'); wp_enqueue_style('librevideojs-selector'); |