=== NFB Video Plugin === Contributors: NFB_ONF Tags: video, url embed, oembed Requires at least: 2.8 Tested up to: 2.8.5 Stable tag: trunk NEW: Embeds YouTube videos. The NFB Video Plugin is designed to allow to embed videos using a provider's URL that allows for autodiscovery of their oembed links. E.G.: NFB.ca | Vimeo.com | YouTube . Problems? a.savard@onf.ca == Description == The NFB Video Plugin was designed to help users who use Wordpress to be able to quickly and efficiently place embedded videos on their page. Previously, to embed a film, we had to provide the entire object or embed information, play with the sizes, and hope we didn't break it. Now, for sites that are oEmbed autodiscoverable, we have cut this down to pasting a link such as oehttp://nfb.ca/film/jeu_en/ into the blog post, and whenever your post is loaded, it seeks out your embed details. The "oe" is to let the plugin know that this is your oembed film. Sizes are all regulated through the NFB Video Settings in the main settings panel. Set 1 size for all embeds. Recent Fixes :: ++ Made changes so that the YouTube links were retrievable. ++ Made changes to the code so that the plugin doesn't error out in PHP5 versions that don't like a second "->" == Installation == 1. Upload nfb_video_plugin to your plugin directory wp-content/plugins/nfb_video_plugin 2. Go to the Plug-ins tab in your administration panel and activate the plugin. 3. Take a page from the NFB or Vimeo for example : http://www.nfb.ca/film/waterlife_trailer/ or http://vimeo.com/3365942 4. Paste the URL into your post. 5. Adjust your settings in the Settings->NFB Video Settings panel. == Frequently Asked Questions == WHAT IS OEMBED? oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly. Find information about oEmbed at http://www.oembed.com/ WHAT WAS USED TO MAKE THIS PLUGIN? The specifications of oEmbed http://www.oembed.com/ Simple HTML Dom used to return the URLs in an array http://simplehtmldom.sourceforge.net/ == Screenshots == 1. Set the video settings 2. Set the CSS for the caption 3. Enter the link in the post 4. View the embed and caption on the blog == Customizing == ADJUSTING YOUR SETTINGS To adjust your settings, see the NFB Video Settings in the Settings tab of your administration panel. Video Options - Embedded Video Width defaults to 516 pixels - Embedded Video Height defaults to 337 pixels Caption Options - Show Video Title : Yes / No (No by default) - Show Video Author : Yes / No (No by default) - Show Video Provider : Yes / No (No by default) If you wish to display both a title and author, you should specify what kind of separator you wish to use. By default on install this is set to to a comma. If you set it to nothing, a space will be used.