diff options
Diffstat (limited to 'video.theme.inc')
-rw-r--r-- | video.theme.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/video.theme.inc b/video.theme.inc index dfa36e5..f76edc9 100644 --- a/video.theme.inc +++ b/video.theme.inc @@ -7,7 +7,13 @@ * */ -function theme_video_thumbnails($file, $alt = '', $title = '', $attributes = NULL, $getsize = TRUE) { +function theme_video_thumbnails($variables) { + $file = $variables['file']; + $alt = $variables['alt']; + $title = $variables['title']; + $attributes = $variables['attributes']; + $getsize = $variables['getsize']; + $file = (array)$file; // return $file['filepath']; if (!is_file($file['filepath'])) { |