Hi

We are using
Embedded Media Field 6.x-2.3
Media: BlipTV 6.x-1.0-alpha2

All of our video content is from blip.tv, in small number of instances the blip.tv image is not being pulled into the node upon creation. This wouldn't be so bad if the default image show in views for this node, it does not do this unfortunately. So really there are two problems here

1) some blip.tv thumbnails not importing
2) default image not showing in views if no thumbnail imports

Perhaps 2) is more related to Embedded Media Field Module - I have just reported a similar default image related issue in the issues queue there

Any help greatly appreciated

Many thanks

Thomas

CommentFileSizeAuthor
#3 345_112034screenshot.png627.41 KBNickey Robo

Comments

aaron’s picture

Status: Active » Postponed (maintainer needs more info)

could you post some example url's where the thumbnail isn't stored? then i can look at the feeds to see the problem.

thanks!

BattyBovine’s picture

The issue seems to be an API change on blip.tv's end. Some RSS feeds don't prepend the "http://a.images.blip.tv" to the thumbnail image path. I've found a few samples for you to look into.

Here's one that works:
http://blip.tv/file/2278252?skin=rss

Here's one that doesn't:
http://blip.tv/file/2129700?skin=rss

I don't know how to create a real patch, but I fixed my earlier version of the module by adding these two lines to the "blip.tv.inc" file. Kind of a hack, but it does work, and demonstrates the issue.

// get our thumbnail url
$data['thumbnail']['url'] = $rss['ITEM']['MEDIA:THUMBNAIL'][1]['URL'];

// The next two lines fix a bug introduced in updated video feeds
if(!preg_match("/a\.images\.blip\.tv/",$data['thumbnail']['url']))
  $data['thumbnail']['url'] = "http://a.images.blip.tv".$data['thumbnail']['url'];
Nickey Robo’s picture

StatusFileSize
new627.41 KB

We've been having the same (I think) problem with this on our site. Our site is set up so that a static thumbnail is saved onto the site itself when a video node is created, separate than the one that is embedded as part of a Blip.tv video. You can see an example of a number of videos with blank thumbs in the screenshot attached. However, you'll see that if you go to the individual node for one of the videos with a blank thumb, YIG-TV 2012 Saturday Night Broadcast, there is a thumbnail: http://spnn.org/video/yig-tv-2012-saturday-night-broadcast. The blank thumb only shows up when a thumb is being displayed that is saved on our site.

My theory for what's happening is that the node is being created from the feed before the video has finished processing on Blip's side. And once the node has been created, it doesn't update the static thumbnail. So it would be nice to be able to update the static thumbnail once the node has already been created or not have the feed created before the video has finished being processed. This problem does not happen when we make sure to upload a thumbnail at the same time as uploading a video. So, when Blip doesn't have to create it's own thumbnail for a video, this isn't a problem.

I've tried deleting videos from our site that have blank static thumbnails and then reimporting the feed. Unfortunately, it doesn't update the static thumbnail when I do that. It will update the static thumbnail if the video is deleted from Blip and re-uploaded, then reimported to our site.

A suggestion of one of our developers was to create a way for the importer to not import videos that weren't finished being processed, possibly with a custom module implementing hook_feeds_after_parse()

Thanks!