diff options
author | Heckyel <heckyel@openmailbox.org> | 2017-01-29 19:53:57 -0500 |
---|---|---|
committer | Heckyel <heckyel@openmailbox.org> | 2017-01-29 19:53:57 -0500 |
commit | 35cbbbed1124ef89c811202c9da344586e2be9b1 (patch) | |
tree | 355d14248ffa6b8061a395c40b06aec9b7fe2251 | |
parent | 7b97fd832ce5033f5a992ded1fab65e95d4b2af3 (diff) | |
download | librevideojs-html5-player-35cbbbed1124ef89c811202c9da344586e2be9b1.tar.lz librevideojs-html5-player-35cbbbed1124ef89c811202c9da344586e2be9b1.tar.xz librevideojs-html5-player-35cbbbed1124ef89c811202c9da344586e2be9b1.zip |
specifying the file version
-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'); |