Featured Video Plus - WordPress Plugin
Add Featured Videos to your posts and pages. Works like magic with most themes which use Featured Images. Local Media, YouTube, Vimeo, Dailymotion.
A picture is worth a thousand words. How many words is a video worth?
This plugin enables you to define Featured Videos, which, if set, take the place of Featured Images. There are three ways to get the videos onto your page:
- If your theme already makes use of Featured Images, these will in most themes automatically be replaced by your Featured Videos if available. Alternatively you can
- insert the
[featured-video-plus]-Shortcode in your posts or
- manually make use of the PHP functions in your theme's source files.
Instead of option 1 the plugin can also request the videos using an AJAX request when the featured image is clicked. This reduces load times and gives you the flexibility to display videos in a lightbox to ensure your theme does not break.
Beside your Local Videos (
ogg/ogv) you can use videos from YouTube, Vimeo and Dailymotion. If you miss a certain video platform: Leave me a note. For YouTube and Dailymotion the plugin also features time-links.
The plugin adds customization options to your Media Settings. Beside aesthetic individualizations for each video platform's player you can turn off automatic integration, turn on autoplay, define your Dailymotion Syndication Key and tweak video sizing. By default videos try to dynamically fit their parent containers width. Take a look at Settings -> Media.
[featured-video-plus] [featured-video-plus width=300]
the_post_video( $size ) has_post_video( $post_id ) get_the_post_video( $post_id, $size ) get_the_post_video_url( $post_id ) get_the_post_video_image_url( $post_id, $fallback ) get_the_post_video_image( $post_id )
All parameters are optional. If no
$post_id is given the current post's ID will be used.
$size is either a string keyword (
full) or a 2-item array representing width and height in pixels, e.g. array(560,320). $fallback by default is false, when set to true this will return the fallback URL for local videos.
- Added functionality to display featured video in an lightbox using AJAX on featured image click (*, *)
- Added functionality to replace featured image with featured video on demand when image is clicked using AJAX
get_the_post_video_urlhas a new second parameter (boolean) to get the fallback video's URL (*)
- Tested with WordPress 3.6
- Fixed removing featured image when no featured video is specified (*)
- Added YouTube
fvpid + $post_id) and iframe id (*
- Added a filter for
- Added option for using the featured image as video thumbnail for local videos
- Fixed local videoJS (*)
- Fixed auto width and height for the Dailymotion and videoJS players
- Fixed YouTube videos for which the plugin cannot access the YouTube API (*)
- Fixed Featured Video box on new-post.php
- Enhanced Featured Image ajax behavior
- AJAXified the Featured Video box - just like Featured Images
- Added options for a) disabling VideoJS JS/CSS, b) enabling VideoJS CDN and c) YouTube
- Plugin no longer breaks WP image editor (*)
- WP 3.5 Media Manager seamless integrated
- Time-links now available for YouTube and Dailymotion (append #t###1m2s)
- Specify your Dailymotion Syndication Key
- Local videos no longer break when domain changes or attachment is edited
- Better Featured Image handling
- Internationalization: Added German translations
- Added customizations for YouTube and Dailymotion
- Revamped video sizing
- Better error handling
- Contextual help on media settings and post edit screen
- LiveLeak (very experimental, they have no API)
- Local Videos: mp4, webm, ogg
- More dynamic user interface
- Minimized JS and CSS
- Fixed YouTube time-links
- Enhanced interaction of Featured Videos & Featured Images