diff options
Diffstat (limited to 'librevideojs-html5-player.php')
-rw-r--r-- | librevideojs-html5-player.php | 21 |
1 files changed, 4 insertions, 17 deletions
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 @@ <?php /* Plugin Name: LibreVideoJS HTML5 Player -Version: 1.0.1 +Version: 1.0.2 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,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 = <<<EOT |