Adds a sidebar widget to show a YouTube video.
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
plugin.php
widget.php

README.md

YouTube WordPress

Author

Sébastien Lavoie github@lavoie.sl

Requirements

  • Wordpress 2.8

Installation

  1. Install plugin in wp-content/plugins/ git clone git://github.com:lavoiesl/wp-youtube-widget.git wp-content/plugins/youtube-widget
  2. Enable YouTube Widget in the Plugin admin panel
  3. In widget admin panel, place YouTube in the sidebar, and edit it to enter the YouTube URL or Video ID

Features

  • Uses the iframe version of YouTube embed
  • Normalizes the video URL to http://youtu.be/VIDEO_ID
  • Shows the thumbnail of the video to confirm that you have the correct video.
  • Fetches the title of the video if none is specified
  • Multiple instances supported

Thanks

Original work from James Wilson http://ja.meswilson.com/blog/2007/05/31/wordpress-youtube-widget/