Video Thumbnails
Blip.tv thumbnails via a custom field (1 post)

  1. IstanbulMMV
    Posted 4 years ago #

    Hi Sutherland, great plugin. Many thanks for this contribution.

    I adapted one of your functions to grab a Blip.tv video ID from a custom field (the 'hZBPgqbXeQA' bit of http://blip.tv/play/hZBPgqbXeQA for instance) and echo to my theme. Very basic (I'm a cut and paste coder!), but worked for what I was trying to achieve. Hopefully may help someone else.

    function getBliptvThumb() {
    global $post;
    $blipID = get_post_meta($post->ID, 'Video', true);
    $xml = simplexml_load_file("http://blip.tv/players/episode/$blipID?skin=rss");
    $result = $xml->xpath("/rss/channel/item/media:thumbnail/@url");
    $thumbnail = (string) $result[0]['url'];
    echo '<img src="'.$thumbnail.'" border="0" />';

    Thanks again


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Video Thumbnails
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by IstanbulMMV
  • This topic is not a support question
  • WordPress version: 3.2.1