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).
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.
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 email@example.com 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 firstname.lastname@example.org
- Download and extract the plugin’s archive.
- Upload the
falconiform-youtube-widgetdirectory to the
- Activate the plugin “Falconiform YouTube Widget” through the “Plugins” menu in WordPress.
- 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.
Contributors & Developers
“Falconiform YouTube Widget” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Fixed an issue where the YouTube Widget was not shown in the live widget preview.
- Initial version.