Support » Plugin: Automatic Youtube Video Posts Plugin » [Plugin: Automatic Youtube Video Posts Plugin] How do you get video thumnails to display in the post

Viewing 1 replies (of 1 total)
  • Thread Starter contactzero

    (@contactzero)

    Ok i have finally worked out my own answer if anyone else has this problem, and searching around lots of people do. I found the solution in a reply to someone elses problem fro the creator of Video Thumbnails plugin so thanks to them for this fix!

    In Video Thumbnails Plugin editor do this:

    Automatic Youtube Video Posts only stores the YouTube video’s ID instead of an embed code or URL,
    which means the plugin doesn’t know it’s from YouTube. You’ll have to change the line
    $markup = get_post_meta( $post_id, $video_key, true );
    to
    $markup = ‘http://youtube.com/watch?v=’ . get_post_meta( $post_id, $video_key, true );
    and set the custom field value to _tern_wp_youtube_video.

    And thats it – it works!!!

    See my ExtraHotMovies.com site for an example.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Automatic Youtube Video Posts Plugin] How do you get video thumnails to display in the post’ is closed to new replies.