From 221867e24ee77a0bdcd2ba1cdc1048d749735995 Mon Sep 17 00:00:00 2001 From: Jorge Maldonado Ventura Date: Mon, 6 Feb 2017 13:04:20 +0100 Subject: Remove inserted comments --- librevideojs-html5-player.php | 10 ---------- 1 file changed, 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 = ''; - echo $config; - } -} - function librevideojs_html5_video_embed_handler($atts, $content=null) { extract(shortcode_atts(array( 'url' => '', @@ -226,7 +218,6 @@ EOT; } $output = <<