Falconiform YouTube Widget

January 25, 2022

Falconiform YouTube Widget Plugin

Add YouTube videos to your sidebars with this highly customizable 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 [email protected] 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 [email protected]

Installation

  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.

Screenshots

  1. 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 YouTube widget in action. It’s located in the right sidebar of the theme and has the custom title “Video of the Week”.

  2. Shows the rich settings of an added YouTube widget.

    Shows the rich settings of an added YouTube widget.

  3. Shows the separate settings page that can be accessed by an Editor user. An Editor can specify videos to if enabled.

    Shows the separate settings page that can be accessed by an Editor user. An Editor can specify videos to if enabled.

FAQ

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.

Changelog

1.0.1

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

1.0.0

  • Initial version.

Details

  • Version: 1.0.1
  • Active installations: 100
  • WordPress Version: 5.0
  • Tested up to: 5.9.10
  • PHP Version: 7.0

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars