diff options
author | Jesús Eduardo Estupiñan Medina <heckyel@openmailbox.org> | 2017-02-04 00:55:57 +0100 |
---|---|---|
committer | Gogs <gogitservice@gmail.com> | 2017-02-04 00:55:57 +0100 |
commit | 176c9d60206640452ed25023c9bb0875c0429b9b (patch) | |
tree | b09e06957d095dacbd7e9ce40dde6734dc16d13d | |
parent | 75410a6c383f6e964792af80cf3e5ca256a02a18 (diff) | |
parent | 1475c4a063be8928a84703f1ce8bba6cb666aff6 (diff) | |
download | librevideojs-html5-player-176c9d60206640452ed25023c9bb0875c0429b9b.tar.lz librevideojs-html5-player-176c9d60206640452ed25023c9bb0875c0429b9b.tar.xz librevideojs-html5-player-176c9d60206640452ed25023c9bb0875c0429b9b.zip |
Merge branch 'master' of jorgesumle/librevideojs-html5-player into master
-rw-r--r-- | librevideojs-html5-player.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librevideojs-html5-player.php b/librevideojs-html5-player.php index 4ba5ba6..a3ca259 100644 --- a/librevideojs-html5-player.php +++ b/librevideojs-html5-player.php @@ -85,7 +85,7 @@ if (!class_exists('LIBREVIDEOJS_HTML5_PLAYER')) { function librevideojs_html5_player_enqueue_scripts() { global $post; - if (!is_admin() && strpos($post->post_content, '[librevideojs_video') !== false){ + if (strpos($post->post_content, '[librevideojs_video') !== false){ $plugin_url = plugins_url('', __FILE__); wp_register_script('librevideojs', $plugin_url . '/librevideojs/js/cliplibrejs.dev.js', array(), LIBREVIDEOJS_HTML5_PLAYER_VERSION); wp_enqueue_script('librevideojs'); |