diff options
author | Heckyel <heckyel@openmailbox.org> | 2017-01-31 21:22:44 -0500 |
---|---|---|
committer | Heckyel <heckyel@openmailbox.org> | 2017-01-31 21:22:44 -0500 |
commit | 3459af9401a610e8043eb072d2efe19eee630f6e (patch) | |
tree | 1c445e0213a45bb0d1cc7b671755e2430fc9410f /librevideojs-html5-player.php | |
parent | a744dfcb5e16bb933477f4433ba28e80d65bacdc (diff) | |
download | librevideojs-html5-player-3459af9401a610e8043eb072d2efe19eee630f6e.tar.lz librevideojs-html5-player-3459af9401a610e8043eb072d2efe19eee630f6e.tar.xz librevideojs-html5-player-3459af9401a610e8043eb072d2efe19eee630f6e.zip |
new version 1.1.0
Diffstat (limited to 'librevideojs-html5-player.php')
-rw-r--r-- | librevideojs-html5-player.php | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/librevideojs-html5-player.php b/librevideojs-html5-player.php index 697b5d0..4ba5ba6 100644 --- a/librevideojs-html5-player.php +++ b/librevideojs-html5-player.php @@ -1,7 +1,7 @@ <?php /* Plugin Name: LibreVideoJS HTML5 Player -Version: 1.0.4 +Version: 1.1.0 Plugin URI: https://wordpress.org/plugins/librevideojs-html5-player Author: <a href="https://conocimientoslibres.tuxfamily.org">Jesús Eduardo</a>, <a href="http://www.freakspot.net/">Jorge Maldonado</a> Description: Reproductor de vídeo Libre en Responsive Desing HTML5 para WordPress, construido sobre el ampliamente utilizado <a href="https://notabug.org/Heckyel/LibreVideoJS">LibreVideoJS</a> de la biblioteca del reproductor de vídeo HTML5. Le permite incrustar vídeo en tu post o página con HTML5 para los navegadores principales. Es compatible con <a href="https://www.gnu.org/software/librejs/free-your-javascript.html">LibreJS</a> de acuerdo con la filosofía <a href="https://www.gnu.org">GNU</a>. @@ -20,7 +20,7 @@ if (!class_exists('LIBREVIDEOJS_HTML5_PLAYER')) { class LIBREVIDEOJS_HTML5_PLAYER { - var $plugin_version = '1.0.4'; + var $plugin_version = '1.1.0'; function __construct() { define('LIBREVIDEOJS_HTML5_PLAYER_VERSION', $this->plugin_version); @@ -149,6 +149,7 @@ function librevideojs_html5_video_embed_handler($atts, $content=null) { else{ $controls = " controls"; } + //preload if($preload == "metadata") { $preload = ' preload="metadata"'; @@ -159,6 +160,7 @@ function librevideojs_html5_video_embed_handler($atts, $content=null) { else{ $preload = ' preload="auto"'; } + //autoplay if($autoplay == "true"){ $autoplay = " autoplay"; @@ -166,6 +168,7 @@ function librevideojs_html5_video_embed_handler($atts, $content=null) { else{ $autoplay = ""; } + //loop if($loop == "true"){ $loop = " loop"; @@ -173,6 +176,7 @@ function librevideojs_html5_video_embed_handler($atts, $content=null) { else{ $loop = ""; } + //muted if($muted == "true"){ $muted = " muted"; @@ -180,15 +184,16 @@ function librevideojs_html5_video_embed_handler($atts, $content=null) { else{ $muted = ""; } - // Tracks + + //Tracks if(!is_null( $content )){ $track = do_shortcode($content); } else{ - $track = ""; + $track = ""; } - // Qualities + //Qualities if(!is_null( $content = '' )){ $calidades = do_shortcode($content); } |