I had a problem with Daily motion thumbnails as soon as i changed some code for the thumbnail url

I have replaced

function emvideo_dailymotion_thumbnail($field, $item, $formatter, $node, $width, $height) {
return 'http://www.dailymotion.com/thumbnail/160x120/video/'. $item['value'];


function emvideo_dailymotion_thumbnail($field, $item, $formatter, $node, $width, $height) {
return 'http://www.dailymotion.com/thumbnail/160x120/'. $item['value'];

in emfield/contrib/emvideo/providers/dailymotion.inc

on line 125


Alex UA’s picture

Version: 6.x-1.24 » 6.x-2.x-dev
Status: Patch (to be ported) » Postponed (maintainer needs more info)

The thumbnails work as expected for me. Marking as postponed for now- can you give me a url of a video that you're having trouble getting thumbnails for?


Alex UA’s picture

Moving to Media: Video Flotsam module, where this will be fixed (if it still needs to be fixed).

Alex UA’s picture

Project: Embedded Media Field » Media: Video Flotsam
Version: 6.x-2.x-dev » 6.x-1.x-dev
Component: Embedded Video Field » Code
dale’s picture

Status: Active » Postponed (maintainer needs more info)


The above fix works for me.

Apparently the url that gets stored for the video ends with /video
so emthumb tries to fetch :


I also noticed Dailymotion supports larger thumnailsize these days.

for example this video :
has a 160x120 thumbnail at :
and a 320x240 thumbnail at :

Thanks for the very useful module emfield module and all the providers that come with it!

dale’s picture

Status: Postponed (maintainer needs more info) » Active
dale’s picture

Status: Postponed (maintainer needs more info) » Patch (to be ported)