{title help="Kaltura" admpage="video"} {if $kmode eq 'edit'}{tr}Change Details:{/tr}{$videoInfo->name} {elseif $kmode eq 'view'}{tr}View:{/tr}{$videoInfo->name} {else}{tr}Kaltura Video{/tr}{/if} {/title}
{capture name=upload_file assign=edit_info}
{wikiplugin _name=kaltura id=$videoInfo->id}{/wikiplugin}
{if isset($smarty.request.mixId)} {/if} {if $kmode eq 'view'} {/if}
{tr}Video Title{/tr} {if $kmode eq 'edit'} name}value="{$videoInfo->name}"{/if} size="40"> {else} {$videoInfo->name} {/if}
{tr}Description{/tr} {if $kmode eq 'edit'} {else} {$videoInfo->description} {/if}
{tr}Tags{/tr} {if $kmode eq 'edit'} tags}value="{$videoInfo->tags}"{/if} size="40"> {else} {$videoInfo->tags} {/if}
{tr}Editor{/tr} {if $kmode eq 'edit'} {else} {if $videoInfo->editorType eq 1}{tr}Simple{/tr}{else}{tr}Advanced{/tr}{/if} {/if}
{tr}Embed code{/tr} {ldelim}kaltura id="{$videoId}"{rdelim}
{tr}Duration{/tr} {$videoInfo->duration}s
{tr}Views{/tr} {$videoInfo->views}
{tr}Plays{/tr} {$videoInfo->plays}
{/capture}
{if $kmode eq 'edit'}
{$edit_info}
{elseif $kmode eq 'view'}
{$edit_info}
{else} {tr}No action specified.{/tr} {tr}This file is not expected to be called directly.{/tr} {$kmode} {/if}
{jq notonready=true} function CloseClick(isModified) { window.location="./tiki-list_kaltura_entries.php"; } function SaveClick() { window.location="./tiki-list_kaltura_entries.php"; } function closeEditorHandler() { window.location="./tiki-list_kaltura_entries.php"; } var kaeCallbacksObj = { // unfortunately the advanced editor has sends the publish event before you've picked the thumb // hideous hack courtesy of the OVC Hack Day. publishHandler: function () { setTimeout( function() {SaveClick();}, 10000) }, closeHandler: closeEditorHandler }; {/jq}