diff --git a/.gitignore b/.gitignore index 40fd2b5..723ef36 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -/.idea/* -/player/.git \ No newline at end of file +.idea \ No newline at end of file diff --git a/Plugin.php b/Plugin.php index 66468e5..cf05974 100644 --- a/Plugin.php +++ b/Plugin.php @@ -44,7 +44,11 @@ class DPlayer_Plugin implements Typecho_Plugin_Interface */ public static function playerHeader() { - echo ''; + $url = Helper::options()->pluginUrl . '/DPlayer'; + echo << + +EOF; } /** @@ -54,18 +58,19 @@ class DPlayer_Plugin implements Typecho_Plugin_Interface { $url = Helper::options()->pluginUrl . '/DPlayer'; if (Typecho_Widget::widget('Widget_Options')->plugin('DPlayer')->hls) { - echo "\n"; + echo "\n"; } if (Typecho_Widget::widget('Widget_Options')->plugin('DPlayer')->flv) { - echo "\n"; + echo "\n"; } echo << +