From f6507418ff542a08cb35dcc5b46bc2a383055196 Mon Sep 17 00:00:00 2001 From: Heckyel Date: Fri, 23 Dec 2016 15:40:11 -0500 Subject: depurado --- librevideojs-html5-player.php | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'librevideojs-html5-player.php') diff --git a/librevideojs-html5-player.php b/librevideojs-html5-player.php index 5a32f12..e328aca 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,27 +20,13 @@ if (!class_exists('LIBREVIDEOJS_HTML5_PLAYER')) { class LIBREVIDEOJS_HTML5_PLAYER { - var $plugin_version = '1.0.1'; + var $plugin_version = '1.0.2'; function __construct() { define('LIBREVIDEOJS_HTML5_PLAYER_VERSION', $this->plugin_version); $this->plugin_includes(); } - function the_content_video( $more_link_text = null, $strip_teaser = false) { - $content_video = get_the_content( $more_link_text, $strip_teaser ); - /** - * Filtrando contenido del video. - * - * @since 0.71 - * - * @param string $content_video Content of the current post. - */ - $content_video = apply_filters( 'the_content_video', $content_video ); - $content_video = str_replace( ']]>', ']]>', $content_video ); - echo $content_video; - } - function plugin_includes() { if (is_admin()) { add_filter('plugin_action_links', array($this, 'plugin_action_links'), 10, 2); @@ -199,6 +185,7 @@ function librevideojs_html5_video_embed_handler($atts, $content=null) { } // Calidades + $content_video = ''; if(!is_null( $content_video )){ $calidades = do_shortcode($content_video); } @@ -211,8 +198,8 @@ function librevideojs_html5_video_embed_handler($atts, $content=null) { $poster = ' poster="'.$poster.'"'; } $player = "librevideojs" . uniqid(); - //custom style + //custom style $style = ''; if(!empty($width)){ $style = <<