From aa5c9b48cfa5674f534acab2cdaab685e9e116ee Mon Sep 17 00:00:00 2001 From: Heshan Date: Wed, 4 May 2011 17:16:42 +0530 Subject: Run through the coder module and review the code and documentation of the module code. --- video.theme.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'video.theme.inc') diff --git a/video.theme.inc b/video.theme.inc index 83ddbc2..065845a 100644 --- a/video.theme.inc +++ b/video.theme.inc @@ -49,7 +49,8 @@ function theme_video($variables) { if ($video = $conversion->load_job($variables['item']['fid'])) { if ($video->video_status == VIDEO_RENDERING_ACTIVE || $video->video_status == VIDEO_RENDERING_PENDING) { return theme('video_inprogress'); - } else if ($video->video_status == VIDEO_RENDERING_FAILED) { + } + else if ($video->video_status == VIDEO_RENDERING_FAILED) { return theme('video_conversion_failed'); } } @@ -107,7 +108,8 @@ function theme_video_thumbnail($variables) { if ($variables['video_style']) { $image['style_name'] = $variables['video_style']; $output = theme('image_style', $image); - } else { + } + else { $output = theme('image', $image); } @@ -201,7 +203,8 @@ function theme_video_flv($variables) { 'autoPlay' => $video->autoplay, 'autoBuffering' => $video->autobuffering, ),),); - } else { + } + else { $options = array( 'clip' => array('url' => urlencode($video->files->{$video->player}->url), 'autoPlay' => $video->autoplay, -- cgit v1.2.3