diff --git a/sites/all/modules/video_filter/video_filter.codecs.inc b/sites/all/modules/video_filter/video_filter.codecs.inc index 37ea9ca..4983afe 100755 --- a/sites/all/modules/video_filter/video_filter.codecs.inc +++ b/sites/all/modules/video_filter/video_filter.codecs.inc @@ -182,7 +182,7 @@ function video_filter_youtube($video) { 'fs' => 'fs=1', ); - $video['source'] = 'http://www.youtube.com/v/' . $video['codec']['matches'][1] . '?' . implode('&', $attributes); + $video['source'] = '//www.youtube.com/v/' . $video['codec']['matches'][1] . '?' . implode('&', $attributes); return video_filter_flash($video); } @@ -193,7 +193,7 @@ function video_filter_youtube_html5($video) { 'autoplay' => $video['autoplay'] ? 'autoplay=1' : 'autoplay=0', ); $url = $video['codec']['matches'][1] . '?' . implode('&', $attributes); - $html = ''; + $html = ''; return $html; } @@ -217,13 +217,13 @@ function video_filter_dailymotion($video) { } function video_filter_vimeo($video) { - $video['source'] = 'http://www.vimeo.com/moogaloop.swf?clip_id='.$video['codec']['matches'][1].'&server=www.vimeo.com&fullscreen=1&show_title=1&show_byline=1&show_portrait=0&color=&autoplay='.$video['autoplay']; + $video['source'] = '//www.vimeo.com/moogaloop.swf?clip_id='.$video['codec']['matches'][1].'&server=www.vimeo.com&fullscreen=1&show_title=1&show_byline=1&show_portrait=0&color=&autoplay='.$video['autoplay']; return video_filter_flash($video); } function video_filter_vimeo_html5($video) { - $html = ''; + $html = ''; return $html; } @@ -328,7 +328,7 @@ function video_filter_bliptv($video) { $index = array(); xml_parse_into_struct($parser, $result->data, $vals, $index); xml_parser_free($parser); - + $response = array(); $response['_emfield_arghash'] = $arghash; $level = array(); @@ -360,12 +360,12 @@ function video_filter_bliptv($video) { $id = 0; } } - + $video['source'] = 'http://blip.tv/play/' . $id; $params = array( 'allowscriptaccess' => 'always', ); - + return video_filter_flash($video, $params); }