function video_filter_foxnews in Video Filter 7.3
Callback for Fox News codec.
See also
1 string reference to 'video_filter_foxnews'
- video_filter_codec_info in ./
video_filter.codecs.inc - Implements hook_codec_info().
File
- ./
video_filter.codecs.inc, line 639 - This file contains all codecs provided by Video Filter.
Code
function video_filter_foxnews($video) {
$video_id = $video['codec']['matches'][1];
$html = '<script type="text/javascript" src="//video.foxnews.com/v/embed.js?id=' . $video_id . '&w=' . $video['width'] . '&h=' . $video['height'] . '"></script>';
return $html;
}