diff --git a/themes/media-youtube-video.tpl.php b/themes/media-youtube-video.tpl.php index 86ce00e..0c21c0c 100644 --- a/themes/media-youtube-video.tpl.php +++ b/themes/media-youtube-video.tpl.php @@ -23,5 +23,5 @@ ?>
- +
diff --git a/themes/media_youtube.theme.inc b/themes/media_youtube.theme.inc index 25e339e..7217106 100644 --- a/themes/media_youtube.theme.inc +++ b/themes/media_youtube.theme.inc @@ -16,7 +16,7 @@ function media_youtube_preprocess_media_youtube_video(&$variables) { $variables['video_id'] = check_plain($parts['v']); // Make the file object available. - $file_object = file_uri_to_object($variables['uri']); + $file_object = file_uri_to_object($variables['uri'], TRUE); // Parse options and build the query string. Only add the option to the query // array if the option value is not default. Be careful, depending on the