From aafa6c0519a068d14e7c6a1ce0d90ba835ecd1f1 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Sun, 24 May 2026 22:04:22 +0100 Subject: Videos tab: inline player with list/player split layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces the simple table with a two-column layout — scrollable video list on the left, HTML5 player on the right. Clicking a list item loads and plays the video in-page. Full-page link and title shown below player. Thumbnails display in the list when available (post-ffmpeg). Co-Authored-By: Claude Sonnet 4.6 --- .../galleriffic/fisheye_galleriffic_inc_2.tpl | 83 ++++++++++++++++------ 1 file changed, 60 insertions(+), 23 deletions(-) diff --git a/gallery_views/galleriffic/fisheye_galleriffic_inc_2.tpl b/gallery_views/galleriffic/fisheye_galleriffic_inc_2.tpl index a13630f..1de1e1c 100644 --- a/gallery_views/galleriffic/fisheye_galleriffic_inc_2.tpl +++ b/gallery_views/galleriffic/fisheye_galleriffic_inc_2.tpl @@ -191,30 +191,67 @@ jQuery(document).ready(function($) { {/jstab} {if $hasVideos} {jstab title="Videos"} - - - - - - - - {foreach from=$gContent->mItems item=galItem} - {if is_a($galItem, '\Bitweaver\Fisheye\FisheyeImage') && $galItem->mInfo.mime_type|substr:0:6 == 'video/'} - - - - - - {/if} - {/foreach} -
{tr}Videos{/tr}
{tr}Title{/tr}{tr}Actions{/tr}
{if $galItem->mInfo.thumbnail_url.small}{$galItem->mInfo.title|escape}{/if}{$galItem->getTitle()|escape} - {if $gBitUser->hasPermission('p_treasury_view_item')} - {booticon iname="fa-folder-open" iexplain="View"} +
+
+ {foreach from=$gContent->mItems item=galItem} + {if is_a($galItem, '\Bitweaver\Fisheye\FisheyeImage') && $galItem->mInfo.mime_type|substr:0:6 == 'video/'} +
+ {if $galItem->mInfo.thumbnail_url.small} + + {else} + {booticon iname="fa-film" isize="medium" iexplain="Video"} {/if} - {if $gBitUser->hasPermission('p_treasury_download_item') && $galItem->mInfo.download_url} - {biticon ipackage="icons" iname="emblem-downloads" iexplain="Download"} - {/if} -
+ {$galItem->mInfo.title|escape} +
+ + {/if} + {/foreach} + +
+

{tr}Select a video from the list to play.{/tr}

+ + +
+ + {/jstab} {/if} {/jstabs} -- cgit v1.3