function video_filter_myspace in Video Filter 5.2
Same name and namespace in other branches
- 6.3 video_filter.codecs.inc \video_filter_myspace()
- 6.2 video_filter.codecs.inc \video_filter_myspace()
- 7.3 video_filter.codecs.inc \video_filter_myspace()
1 string reference to 'video_filter_myspace'
File
- ./
video_filter.codecs.inc, line 288
Code
function video_filter_myspace($video) {
// The last match is the ID we need.
$last = count($video['codec']['matches']);
$video['source'] = 'http://mediaservices.myspace.com/services/media/embed.aspx/m=' . $video['codec']['matches'][$last - 1];
return video_filter_flash($video, $params);
}