You are here

function video_filter_metacafe in Video Filter 6.3

Same name and namespace in other branches
  1. 5.2 video_filter.codecs.inc \video_filter_metacafe()
  2. 6.2 video_filter.codecs.inc \video_filter_metacafe()
  3. 7.3 video_filter.codecs.inc \video_filter_metacafe()

Callback for Meta Cafe codec.

See also

video_filter_codec_info()

1 string reference to 'video_filter_metacafe'
video_filter_codec_info in ./video_filter.codecs.inc
Implements hook_codec_info().

File

./video_filter.codecs.inc, line 418
This file contains all codecs provided by Video Filter.

Code

function video_filter_metacafe($video) {
  $video['source'] = 'http://metacafe.com/fplayer/' . $video['codec']['matches'][1] . '/' . $video['codec']['matches'][2] . '.swf';
  return video_filter_flash($video);
}