function video_filter_gamevideos in Video Filter 7.3
Same name and namespace in other branches
- 5.2 video_filter.codecs.inc \video_filter_gamevideos()
- 6.3 video_filter.codecs.inc \video_filter_gamevideos()
- 6.2 video_filter.codecs.inc \video_filter_gamevideos()
Callback for Game Videos codec.
See also
1 string reference to 'video_filter_gamevideos'
- video_filter_codec_info in ./
video_filter.codecs.inc - Implements hook_codec_info().
File
- ./
video_filter.codecs.inc, line 667 - This file contains all codecs provided by Video Filter.
Code
function video_filter_gamevideos($video) {
$video['source'] = '//gamevideos.1up.com/swf/gamevideos12.swf?embedded=1&fullscreen=1&autoplay=0&src=//gamevideos.1up.com/do/videoListXML%3Fid%3D' . $video['codec']['matches'][1];
return video_filter_flash($video);
}