该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

YouTube Play Icon

描述

This plugin adds a play icon to the beginning of the page title whenever an embedded YouTube video is playing. When all videos on the page have stopped playing, the play icon is removed from the page title. This mimics the page title behavior when playing a video on youtube.com. If visitors to your site have several browser tabs open, this is a convenient way they can quickly identify which browser tab contains a web page that is playing video content (making noise).

Also included is the option to display a pause icon in the page title when a video is paused, and the ability to selectively disable the plugin on all pages, all posts, the front page, the home page or on sticky posts, if desired.

屏幕截图

  • Play and pause icons displayed in page title
  • Settings Page

安装

  1. Upload the entire plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

Installation Instructions
  1. Upload the entire plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
How do I enable the pause icon feature, or disable the plugin on specific pages?

After installing and activating the plugin, go to Settings > YouTube Play Icon from the WordPress Dashboard to enable or disable features. Refresh your browser page and then play a video to see the changes take effect.

评价

此插件暂无评价。

贡献者及开发者

「YouTube Play Icon」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.2

  • Changed plugin name

1.1

  • Added support for both http and https YouTube URLs

1.0

  • initial release