aboutsummaryrefslogtreecommitdiffstats
path: root/librevideojs-html5-player.php
diff options
context:
space:
mode:
Diffstat (limited to 'librevideojs-html5-player.php')
-rw-r--r--librevideojs-html5-player.php15
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);
}