mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-05 07:17:52 +10:00
- Rename archivebox/plugins/media/ → archivebox/plugins/ytdlp/ - Rename hook script on_Snapshot__63_media.bg.py → on_Snapshot__63_ytdlp.bg.py - Update config.json: YTDLP_* as primary keys, MEDIA_* as x-aliases - Update templates CSS classes: media-* → ytdlp-* - Fix gallerydl bug: remove incorrect dependency on media plugin output - Update all codebase references to use YTDLP_* and SAVE_YTDLP - Add backwards compatibility test for MEDIA_ENABLED alias
15 lines
738 B
HTML
15 lines
738 B
HTML
<!-- YT-DLP thumbnail - shows video/audio player or placeholder -->
|
|
<div class="extractor-thumbnail ytdlp-thumbnail" style="width: 100%; height: 100px; overflow: hidden; background: #1a1a1a; display: flex; align-items: center; justify-content: center;">
|
|
<video src="{{ output_path }}"
|
|
style="width: 100%; height: 100px; object-fit: contain;"
|
|
poster=""
|
|
preload="metadata"
|
|
muted
|
|
onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
|
|
</video>
|
|
<div style="display: none; flex-direction: column; align-items: center; color: #888; font-size: 12px;">
|
|
<span style="font-size: 32px;">🎬</span>
|
|
<span>YT-DLP</span>
|
|
</div>
|
|
</div>
|