Extensions‎ > ‎

Videos

Easily add YouTube videos to your WordPress blog.

HTML5 video



Auto-post YouTube videos

wordpress.org


New Posts Not Coming In

In wp_options table, edit the tern_wp_youtube field and look for this:

"is_importing";s:10:"03e9eb1727"

The random characters (03e9eb1727) will be different in your database.
Change it to:

"is_importing";s:1:"0"

Then you'll be able to begin importing again.



Use Latest YouTube Player

In
automatic-youtube-video-posts/core/video.php

Add
.'?version=3&fs=1&showinfo=0&rel=0&autoplay=1&autohide=1';

In function

function tern_wp_youtube_video_link($i,$e=true) {
$l = 'http://www.youtube.com/v/'.$i;
if($e) { echo $l; }
return $l;
}

In function

function tern_wp_youtube_video($e=true) {
$src = tern_wp_youtube_video_link($v,false);

$s = '<object data="'.$src.'" type="application/x-shockwave-flash" width="'.$o['dims'][0].'" height="'.$o['dims'][1].'"><param name="movie" value="'.$src.'"></param><param name="wmode" value="opaque"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param></object>
}


In wp-includes/post.php

Add

if ('thumb' == $key)
{
// $i = get_post_meta($post_id,'_tern_wp_youtube_video',true);
$i = get_post_custom_values('_tern_wp_youtube_video');
$i = $i[0];
$custom[$key] = array('http://i.ytimg.com/vi/'.$i.'/default.jpg');
}

In function

function get_post_custom_values( $key = '', $post_id = 0 ) {
if ( !$key )
return null;

$custom = get_post_custom($post_id);

if ('thumb' == $key)
{
// $i = get_post_meta($post_id,'_tern_wp_youtube_video',true);
$i = get_post_custom_values('_tern_wp_youtube_video');
$i = $i[0];
$custom[$key] = array('http://i.ytimg.com/vi/'.$i.'/default.jpg');
}

return isset($custom[$key]) ? $custom[$key] : null;
}


author

Like

And

And

Another YouTube clone


Auto-post latest YouTube video to your blog


YouTube plugins

Video thumbnails

Automatically display video thumbnails in your template


YouTube uploader

WARNING: Breaks WordPress 3.0.4 after activating

Upload directly to YouTube (not to your website then to YouTube)


YouTube Lyte

No embedded player (just screenshot) that is replaced with player on click!


YouTube SimpleGallery


Requires Shadowbox or Thickbox

Shadowbox

Thickbox


YouTube channel gallery

Display the most recent videos from a YouTube channel in your post or page

Comments