diff options
Diffstat (limited to 'video_formatter.inc')
-rw-r--r-- | video_formatter.inc | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/video_formatter.inc b/video_formatter.inc index bcda04f..a9451d4 100644 --- a/video_formatter.inc +++ b/video_formatter.inc @@ -211,4 +211,113 @@ function theme_video_formatter_imagecache($element) { */ function theme_video_formatter($variables) { return video_get_player($variables); +} + +/** + * Process variables for video-play-quicktime.tpl.php. + * + * The $variables array contains the following arguments: + * - $video + * + * @see video-play-quicktime.tpl.php + */ +function template_preprocess_video_play_quicktime(&$variables) { + $variables['video'] = (object) $variables; +} + +/** + * Process variables for video-play-dcr.tpl.php + * + * The $variables array contains the following arguments: + * - $video + * + * @see video-play-dcr.tpl.php + */ +function template_preprocess_video_play_dcr(&$variables) { + $variables['video'] = (object) $variables; +} + +/** + * Process variables for video-play-divx.tpl.php + * + * The $variables array contains the following arguments: + * - $video + * + * @see video-play-divx.tpl.php + */ +function template_preprocess_video_play_divx(&$variables) { + $variables['video'] = (object) $variables; +} + +/** + * Process variables for video-play-flash.tpl.php + * + * The $variables array contains the following arguments: + * - $video + * + * @see video-play-flash.tpl.php + */ +function template_preprocess_video_play_flash(&$variables) { + $variables['video'] = (object) $variables; +} + +/** + * Process variables for video-play-flv.tpl.php + * + * The $variables array contains the following arguments: + * - $video + * + * @see video-play-flv.tpl.php + */ +function template_preprocess_video_play_flv(&$variables) { + $variables['video'] = (object) $variables; + $variables['themed_output'] = (object) $variables; +} + +/** + * Process variables for video-play-html5.tpl.php + * + * The $variables array contains the following arguments: + * - $video + * + * @see video-play-html5.tpl.php + */ +function template_preprocess_video_play_html5(&$variables) { + $variables['video'] = (object) $variables; +} + +/** + * Process variables for video-play-realmedia.tpl.php + * + * The $variables array contains the following arguments: + * - $video + * + * @see video-play-realmedia.tpl.php + */ +function template_preprocess_video_play_realmedia(&$variables) { + $variables['video'] = (object) $variables; +} + +/** + * Process variables for video-play-theora.tpl.php + * + * The $variables array contains the following arguments: + * - $video + * + * @see video-play-theora.tpl.php + */ +function template_preprocess_video_play_theora(&$variables) { + $variables['video'] = (object) $variables; +} + +/** + * Process variables for video-play-windowsmedia.tpl.php + * + * The $variables array contains the following arguments: + * - $video + * + * @see video-play-windowsmedia.tpl.php + */ +function template_preprocess_video_play_windowsmedia(&$variables) { + $variables['video'] = (object) $variables; }
\ No newline at end of file |