From 49c6be687c1b0c510805fb2f4e3e052dd42039db Mon Sep 17 00:00:00 2001 From: Heckyel Date: Wed, 25 Jan 2017 16:57:43 -0500 Subject: Adapting to the new functionality --- librevideojs-html5-player.php | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'librevideojs-html5-player.php') diff --git a/librevideojs-html5-player.php b/librevideojs-html5-player.php index 2a50e91..1d39b60 100644 --- a/librevideojs-html5-player.php +++ b/librevideojs-html5-player.php @@ -88,16 +88,9 @@ function librevideojs_html5_player_enqueue_scripts() { $plugin_url = plugins_url('', __FILE__); wp_register_script('librevideojs', $plugin_url . '/librevideojs/js/cliplibrejs.dev.js', true); wp_enqueue_script('librevideojs'); - wp_register_style('librevideojs-mixteal-style', $plugin_url . '/librevideojs/css/mix-material/mix-teal.min.css'); - wp_enqueue_style('librevideojs-mixteal-style'); - wp_register_style('librevideojs-mixred-style', $plugin_url . '/librevideojs/css/mix-material/mix-red.min.css'); - wp_enqueue_style('librevideojs-mixred-style'); - //Abrir un directorio conocido, y proceder a leer su contenido - // foreach(glob($plugin_url . '/librevideojs/css/mix-material/*.min.css') as $theme) { - // wp_register_style('librevideojs-mixred-style', $theme); - // wp_enqueue_style('librevideojs-mixred-style'); - // } - wp_register_style('librevideojs-material-style', $plugin_url . '/librevideojs/css/librevideojs-material/libre-skin-teal.min.css'); + wp_register_style('librevideojs-mix-master-style', $plugin_url . '/librevideojs/css/mix-material/master.css'); + wp_enqueue_style('librevideojs-mix-master-style'); + wp_register_style('librevideojs-material-style', $plugin_url . '/librevideojs/css/librevideojs-material/master.css'); wp_enqueue_style('librevideojs-material-style'); wp_register_style('librevideojs-style', $plugin_url . '/librevideojs-html5-player.css'); wp_enqueue_style('librevideojs-style'); -- cgit v1.2.3