function video_filter_giphy in Video Filter 7.3
Callback for Giphy codec.
See also
1 string reference to 'video_filter_giphy'
- video_filter_codec_info in ./
video_filter.codecs.inc - Implements hook_codec_info().
File
- ./
video_filter.codecs.inc, line 678 - This file contains all codecs provided by Video Filter.
Code
function video_filter_giphy($video) {
$video['source'] = '//giphy.com/embed/' . $video['codec']['matches'][3];
return video_filter_iframe($video);
}