|
|
{* $Id$ *}
|
|
|
{jq notonready=true}
|
|
|
function loadMedia(entryId) {
|
|
|
$('#kaltura_player1')[0].sendNotification("changeMedia", {entryId:entryId});
|
|
|
}
|
|
|
{/jq}
|
|
|
|
|
|
{if $tiki_p_list_videos eq 'y'}
|
|
|
{if $entryType eq "mix"}
|
|
|
{button _text="{tr}List Media{/tr}" href="tiki-list_kaltura_entries.php" _class="btn-info"}
|
|
|
{if $prefs.kaltura_legacyremix == 'y'}{button _text="{tr}List Remix Entries{/tr}" href="tiki-list_kaltura_entries.php?list=mix" _class="btn-info"}{/if}
|
|
|
{else}
|
|
|
{if $prefs.kaltura_legacyremix == 'y'}{button _text="{tr}List Remix Entries{/tr}" href="tiki-list_kaltura_entries.php?list=mix" _class="btn-info"}{/if}
|
|
|
{button _text="{tr}List Media{/tr}" href="tiki-list_kaltura_entries.php" _class="btn-info"}
|
|
|
{/if}
|
|
|
{/if}
|
|
|
|
|
|
{if $tiki_p_upload_videos eq 'y' or $tiki_p_admin_kaltura eq 'y' or $tiki_p_admin eq 'y'}{button _text="{tr}Add New Media{/tr}" href="tiki-kaltura_upload.php"}{/if}
|
|
|
|
|
|
<div class="text-center">
|
|
|
{wikiplugin _name=kaltura id=$klist[0]->id}{/wikiplugin}
|
|
|
<div class="navi kaltura">
|
|
|
<a class="prev"></a>
|
|
|
<div class="scrollable">
|
|
|
<div class="items">
|
|
|
{foreach from=$klist key=key item=item}
|
|
|
<a href="#" onclick="loadMedia('{$item->id}'); return false"><img class="athumb" src="{$item->thumbnailUrl}" alt="{$item->description}" height="80" width="120"></a>
|
|
|
{/foreach}
|
|
|
</div>
|
|
|
</div>
|
|
|
<a class="next"></a>
|
|
|
</div>
|
|
|
</div>
|