{extends "../@layout.xml"} {block title}{_video}{/block} {block header} {$user->getCanonicalName()} » {_videos} » {_video} {/block} {block content}
{if $video->getType() === 0}
{else} {var $driver = $video->getVideoDriver()} {if !$driver} {_unknown_video} {else} {$driver->getEmbed()|noescape} {/if} {/if}

{include "../components/comments.xml", comments => $comments, count => $cCount, page => $cPage, model => "videos", parent => $video}

{_information}

{_info_name}: {$video->getName()}
{_info_description}: {$video->getDescription() ?? "(" . tr("none") . ")"}
{_info_uploaded_by}: {$user->getFullName()}
{_info_upload_date}: {$video->getPublicationTime()}

{_actions}

{_edit} {_delete}
{_watch_in_window}
{if isset($thisUser)} {if $thisUser->getId() != $video->getOwner()->getId()} {var canReport = true} {/if} {/if} {_report}
{/block}