Modified:fixed playlist link issue
This commit is contained in:
parent
852a695e3c
commit
12bbfc7c88
1 changed files with 2 additions and 2 deletions
|
@ -60,9 +60,9 @@
|
|||
<span class="video_control">
|
||||
- <a class="btn btn-primary btn-xs" href="?mode=edit_playlist&pid={$playlists[plist].playlist_id}">{lang code='view'}</a>
|
||||
<!-- changes made -->
|
||||
{assign var=firstitem value=$playlist_items[0]['videokey']}
|
||||
{assign var=firstitem value=$playlist_items[0]}
|
||||
{if $firstitem}
|
||||
<a class="btn btn-success btn-xs" href="{$baseurl}/watch_video.php?v={$firstitem}&play_list={$playlists[plist].playlist_id}" target="_blank">{lang code='play'}</a>
|
||||
<a class="btn btn-success btn-xs" href="{videoLink($firstitem)}{if $Cbucket->configs.seo == 'no'}&{else}?{/if}play_list={$playlists[plist].playlist_id}" target="_blank">{lang code='play'}</a>
|
||||
{else}
|
||||
<a class="btn btn-success btn-xs" onclick="_cb.throwHeadMsg('danger','{lang code=no_vid_in_playlist}', 5000, true);">{lang code='play'}</a>
|
||||
{/if}
|
||||
|
|
Loading…
Add table
Reference in a new issue