WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Simple Video Embedder

Adds a widget to the posting screen that makes posting videos a cinch.

  1. Upload the plugin files to your wp-plugins/ folder.
  2. Go the plugin management page and activate the plugin.
  3. Make the appropriate changes to your theme to show the videos (details below).
  4. Go to Settings > Video Options to configure default values.

The Simple Video Embedder plugin also works with self hosted FLV (Flash) or MP4 (Quicktime) videos. If you wish to use the Simple Video embedder with FLV or MP4 video, follow the instructions below:

  1. Download the JW FLV Media Player found at the LongTail Video website and extract the files it contains. There should be a file called swfobject.js and player.swf.
  2. Using an FTP client to access your host web server, upload all extracted files and their containing folder to the wp-content folder of WordPress.
  3. In the WordPress admin, go to Settings > Video Options and set "JW Player files location" to the absolute web path of the folder you just uploaded. For example, /wp-content/mediaplayer/.

In order to show the videos, the p75GetVideo() function needs to be inserted somewhere in the loop of your theme. The function has the following prototype:

string p75GetVideo(int $post_id)

This function returns the embed code of the video for the post with ID $post_id. Note that it does not print out the embed code but returns it as a string that you must echo. There is also a function that checks whether there is a video for some post.

bool p75HasVideo(int $post_id)

This function returns true if the post with ID $post_id has a video and false otherwise. I suggest you use p75HasVideo() to check for a video, and only get the video with p75GetVideo() if it returns true.

Something similar to this should go in the main loop of your theme:

if ( p75HasVideo($post->ID) ) {
    echo p75GetVideo($post->ID);
}

Requires: 2.9 or higher
Compatible up to: 3.0.5
Last Updated: 2010-7-20
Downloads: 113,876

Ratings

4 stars
4.1 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
0,2,0
0,1,0 0,1,0
50,4,2
100,1,1
25,4,1
100,1,1
0,1,0
100,1,1