From 3459af9401a610e8043eb072d2efe19eee630f6e Mon Sep 17 00:00:00 2001 From: Heckyel Date: Tue, 31 Jan 2017 21:22:44 -0500 Subject: new version 1.1.0 --- librevideojs-html5-player.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'librevideojs-html5-player.php') 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 @@ Jesús Eduardo, Jorge Maldonado Description: Reproductor de vídeo Libre en Responsive Desing HTML5 para WordPress, construido sobre el ampliamente utilizado LibreVideoJS 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 LibreJS de acuerdo con la filosofía GNU. @@ -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); } -- cgit v1.2.3