{$video=$vdo} {$type='video'}
{FlashPlayer vdetails=$video width='100%' height='100%'}
{AD place='ad_468x60'}

# {$video.title|ucfirst}

{$video.username}
{if $video.userid != userid()} {lang('Subscribe')} {/if}
{$vdo.views|number_format} {lang('View')}{if $vdo.views > 1}{lang('s')}{/if}
{if $vdo.allow_rating != 'no'} {show_video_rating rating=$vdo.rating ratings=$vdo.rated_by total='10' id=$vdo.videoid type=video} {/if}

{description($video.description)|description}

{lang('Category:')} {$vdo.category|categories:video}
{lang('Tags:')} {$vdo.tags|tags:videos}
Published: {$video.date_added|niceTime}
{if $Cbucket->configs.video_download==1 && $cbvid->downloadable($vdo)}
{/if}
{show_share_form id=$vdo.videoid type=video}
Add to My Favorites
{show_playlist_form id=$vdo.videoid user=userid() type=video}
{if userid()}
+ {lang code='add_to_my_collection'}
{show_collection_form id=$vdo.videoid type=Video}
{/if}
{show_flag_form id=$vdo.videoid type=video}
{lang code='comments'} {$vdo.comments_count}
{if $myquery->is_commentable($vdo,'v')} {include file="$style_dir/blocks/comments/add_comment.html" id=$vdo.videoid type=v} {else}
{lang code='comm_disabled_for_vid'}
{/if}
{AD place='ad_300x250'}
{if $smarty.get.play_list == ''} {foreach $videos as $video} {include file="$style_dir/blocks/videos/video_popular.html"} {/foreach} {else} {section name=plist loop=$items} {include file="$style_dir/blocks/manage/account_video.html" video=$items[plist] control="onWatch" pid=$playlist.playlist_id} {/section} {/if}
{AD place='ad_120x600'}