diff options
author | Jorge Maldonado Ventura <jorgesumle@freakspot.net> | 2017-02-06 13:04:20 +0100 |
---|---|---|
committer | Jorge Maldonado Ventura <jorgesumle@freakspot.net> | 2017-02-06 13:04:20 +0100 |
commit | 221867e24ee77a0bdcd2ba1cdc1048d749735995 (patch) | |
tree | 132b3e7da8f6e38309a75c7ae88312787b341e9c | |
parent | 46b412933a237024673b8ad38b9b68912063ed80 (diff) | |
download | librevideojs-html5-player-221867e24ee77a0bdcd2ba1cdc1048d749735995.tar.lz librevideojs-html5-player-221867e24ee77a0bdcd2ba1cdc1048d749735995.tar.xz librevideojs-html5-player-221867e24ee77a0bdcd2ba1cdc1048d749735995.zip |
Remove inserted comments
-rw-r--r-- | librevideojs-html5-player.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/librevideojs-html5-player.php b/librevideojs-html5-player.php index 5bda368..e602525 100644 --- a/librevideojs-html5-player.php +++ b/librevideojs-html5-player.php @@ -34,7 +34,6 @@ if (!class_exists('LIBREVIDEOJS_HTML5_PLAYER')) { add_action('plugins_loaded', array($this, 'plugins_loaded_handler')); add_action('wp_enqueue_scripts', 'librevideojs_html5_player_enqueue_scripts'); add_action('admin_menu', array($this, 'add_options_menu')); - add_action('wp_head', 'librevideojs_html5_player_header'); add_shortcode('librevideojs_video', 'librevideojs_html5_video_embed_handler'); //allows shortcode execution in the widget, excerpt and content add_filter('widget_text', 'do_shortcode'); @@ -102,13 +101,6 @@ function librevideojs_html5_player_enqueue_scripts() { } } -function librevideojs_html5_player_header() { - if (!is_admin()) { - $config = '<!-- This site is embedding videos using the LibreVideoJS HTML5 Player plugin v' . LIBREVIDEOJS_HTML5_PLAYER_VERSION . ' - https://conocimientoslibres.tuxfamily.org -->'; - echo $config; - } -} - function librevideojs_html5_video_embed_handler($atts, $content=null) { extract(shortcode_atts(array( 'url' => '', @@ -226,7 +218,6 @@ EOT; } $output = <<<EOT - <!-- Begin LibreVideoJS --> <div class="LibreVideoJS"> <video id="$player" class="cliplibre-js-responsive-container librevjs-hd cliplibre-js librevjs-libre-{$_skin}-skin" {$controls}{$preload}{$autoplay}{$loop}{$muted}{$poster} data-setup='{}'> {$src}\n\t\t{$calidades}{$track}<p class="no_html5">Sorry, this video will not work because your web browser does not support HTML5 video.<br>We recommend that you install a <a href='https://libreplanet.org/wiki/Libre_Browsers_Libre_Formats' target='_blank'> browser that respects the freedom and support free formats</a>!</p> @@ -239,7 +230,6 @@ EOT; </script> $style <br> - <!-- End LibreVideoJS --> EOT; return $output; } |