diff options
author | Heckyel <heckyel@openmailbox.org> | 2017-01-23 14:32:45 -0500 |
---|---|---|
committer | Heckyel <heckyel@openmailbox.org> | 2017-01-23 14:32:45 -0500 |
commit | b5ab9b5729bc6c7f0fde1781384d54a79a3c706d (patch) | |
tree | 40f7dd8f6792d0e3efc4b625a1291cb1d5958ca3 /librevideojs-html5-player.php | |
parent | 9e000fa736a8fd30d7ee5b3fdbff6cf228d6a8de (diff) | |
download | librevideojs-html5-player-b5ab9b5729bc6c7f0fde1781384d54a79a3c706d.tar.lz librevideojs-html5-player-b5ab9b5729bc6c7f0fde1781384d54a79a3c706d.tar.xz librevideojs-html5-player-b5ab9b5729bc6c7f0fde1781384d54a79a3c706d.zip |
new skin
Diffstat (limited to 'librevideojs-html5-player.php')
-rw-r--r-- | librevideojs-html5-player.php | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/librevideojs-html5-player.php b/librevideojs-html5-player.php index fcccc63..bf85d70 100644 --- a/librevideojs-html5-player.php +++ b/librevideojs-html5-player.php @@ -83,31 +83,20 @@ if (!class_exists('LIBREVIDEOJS_HTML5_PLAYER')) { } -// function listar_archivos(){ -// $plugin_url = plugins_url('', __FILE__); -// -// // Abrir un directorio conocido, y proceder a leer su contenido -// foreach(glob($plugin_url . '/librevideojs/css/mix-material/*.min.css') as $piel) { -// echo "Filename: " . $piel . "<br />"; -// wp_register_style('librevideojs-mix' . 'Filename' . '-style', $piel); -// } -// } - 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_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 $piel) { - wp_register_style('librevideojs-mixred-style', $piel); - wp_enqueue_style('librevideojs-mixred-style'); - } - + 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_enqueue_style('librevideojs-material-style'); wp_register_style('librevideojs-style', $plugin_url . '/librevideojs-html5-player.css'); |