You are here

function asset_embed_dailymotion_thumbnail_src in Asset 5

Same name and namespace in other branches
  1. 6 asset_embed/providers/dailymotion.inc \asset_embed_dailymotion_thumbnail_src()
1 call to asset_embed_dailymotion_thumbnail_src()
theme_asset_embed_dailymotion_thumbnail in asset_embed/providers/dailymotion.inc

File

asset_embed/providers/dailymotion.inc, line 26

Code

function asset_embed_dailymotion_thumbnail_src($asset, $attr = array()) {
  $id = $asset->embed['thumbnail_id'];
  $url = 'http://www.dailymotion.com/thumbnail/160x120/video/' . $id;
  return $url;
}