這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Falconiform YouTube Widget

描述

General Information and Features

The Falconiform YouTube Widget allows you to add YouTube videos to your sidebars. This is easily done by adding the widget to a sidebar in the administration interface. After that you simply paste the link (URL) of the desired YouTube video (or the video ID) into the appropriate widget settings field. You can adjust the following settings:

  • widget title
  • YouTube video ID
  • player width (automatic width possible)
  • player height (automatic height possible)
  • player theme
  • color of the player’s video progress bar
  • player controls visibility
  • hide controls / progress bar at playback
  • start playback automatically
  • restart the video automatically after playback ends (loop video)
  • show related videos after playback ends
  • show video information like the video title
  • show video annotations
  • show fullscreen button
  • hide YouTube logo in the controls bar
  • disable keyboard control for the player

Editors Can Specify Videos

Optionally, the Falconiform YouTube Widget allows users with Editor rights to specify the video that is shown in the sidebar. In WordPress Editors are not allowed to change widget settings. Therefore the Falconiform YouTube Widget adds an extra menu to the administration interface that allows Editors to specify videos that are linked with one or more YouTube widgets (via index number).

If you don’t want Editors to specify videos, you can disable this in the widget settings (disabled by default).

Technical Details

The Falconiform YouTube Widget embeds the YouTube player as HTML5 iFrame. Details about the YouTube player can be found at YouTube Embedded Players and Player Parameters. The HTML output of this plugin was checked against HTML5 conformance successfully.

Support

The Falconiform YouTube Widget is delivered in the following languages:

  • English (en_US)
  • German (de_DE)

If you want to translate this plugin in your language, you can use Poedit. The “pot” file is located in the /falconiform-youtube-widget/languages/ directory. You can send me your translation (a “po” file) to youtube-widget@falconiform.de and I will add it to the next release.

I use the Falconiform YouTube Widget myself on a website. Hence, I will update this plugin for future WordPress versions and add new features.

If you have found a bug or wish to have new features, please add a ticket in the Support section or send an email to youtube-widget@falconiform.de

螢幕截圖

  • Shows the YouTube widget in action. It’s located in the right sidebar of the theme and has the custom title “Video of the Week”.
  • Shows the rich settings of an added YouTube widget.
  • Shows the separate settings page that can be accessed by an Editor user. An Editor can specify videos to if enabled.

安裝

  1. Download and extract the plugin’s archive.
  2. Upload the falconiform-youtube-widget directory to the /wp-content/plugins/ directory.
  3. Activate the plugin “Falconiform YouTube Widget” through the “Plugins” menu in WordPress.
  4. Add a YouTube widget through the “Appearance” -> “Widgets” menu in WordPress.

常見問題

How can I allow an Editor to specify a video?

Go to an added YouTube widget (menu “Appearance” -> “Widgets”). Open the YouTube widget settings. Set “Index of the video ID from dedicated settings page” to 1. Check the box “Take video from dedicated settings page via index”. Click the “Save” button. Now an Editor can go to menu “YouTube Widget” and add a YouTube video link (or video ID) by setting “Video ID 1”. After that the YouTube widget shows the desired YouTube video.

Is it possible that an Editor specifies more than x videos?

Generally, yes. But it’s hard-coded at the moment. Please contact me if you need to specify more videos. However, you can add as many YouTube widgets as you like.

Can I style the Falconiform YouTube Widget?

Yes. The YouTube player is loaded in an iFrame, which has the css class .ff-youtube-widget-player-iframe. You can add this class for example in your theme’s css file and add css styles.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Falconiform YouTube Widget” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Falconiform YouTube Widget 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.1

  • Fixed an issue where the YouTube Widget was not shown in the live widget preview.

1.0.0

  • Initial version.