Adds a widget to the posting screen that makes posting videos a cinch.
wp-plugins/ folder.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:
swfobject.js and player.swf.wp-content folder of WordPress./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: 96,343




