feat: add videodb media index with Docker stack
- Add videodb PHP/MySQL media collection manager (Blu-ray, DVD, CD) - Dockerfile: PHP 8.1 + Apache with GD/mysqli/exif extensions - docker-compose.yml: app on port 6761 + MySQL 8.0 with health checks - docker-entrypoint.sh: auto-generates config.inc.php from env vars, waits for MySQL, initializes DB schema idempotently - init-db.php: CLI schema installer using app's own prefix_query() logic - Persistent volumes for DB, cache, and cover images Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
38
videodb/templates/modern/trailer.tpl
Normal file
38
videodb/templates/modern/trailer.tpl
Normal file
@@ -0,0 +1,38 @@
|
||||
{*
|
||||
Trailer popup
|
||||
$Id: trailer.tpl,v 1.5 2012/08/10 16:07:30 andig2 Exp $
|
||||
*}
|
||||
{include file="xml.tpl"}
|
||||
|
||||
<body>
|
||||
|
||||
<script language="JavaScript" type="text/javascript" src="javascript/lookup.js"></script>
|
||||
|
||||
<div class="tablemenu">
|
||||
<div style="height:7px; font-size:1px;"></div>
|
||||
<span class="tabActive"><a href="#">YouTube Trailers</a></span>
|
||||
</div>
|
||||
|
||||
<div id="topspacer"></div>
|
||||
|
||||
{if $trailer}
|
||||
<table width="100%" cellspacing="0" cellpadding="0">
|
||||
|
||||
{assign var="id" value="1"}
|
||||
|
||||
{foreach item=match from=$trailer}
|
||||
<tr>
|
||||
<td>
|
||||
<iframe id="ytplayer{$id++}" type="text/html" width="425" height="350"
|
||||
src="http://www.youtube.com/embed/{$match.id}?autoplay=0"
|
||||
frameborder="0"/>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user