From 29cbc22727cca4037964875c84d56e958e4adaf8 Mon Sep 17 00:00:00 2001 From: John Stephani Date: Mon, 29 Dec 2025 20:23:04 -0600 Subject: [PATCH] Add custom video control to handle separate video/audio files better. Add icons to buttons. --- app/app.py | 17 +++- app/templates/index.html | 165 ++++++++++++++++++++++++++++++--------- 2 files changed, 146 insertions(+), 36 deletions(-) diff --git a/app/app.py b/app/app.py index 62f5ded..6051c36 100755 --- a/app/app.py +++ b/app/app.py @@ -354,7 +354,22 @@ def get_media_html(file, priority=False): if file.find("_AUDIO_")>0: return ''.format(file) if file.endswith('.mp4'): - return ''.format(file) + return f""" + + + + + + + """ if file.endswith('.webm'): return ''.format(file) return file diff --git a/app/templates/index.html b/app/templates/index.html index 26b7c52..09d87d1 100755 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -4,6 +4,28 @@ + + + + + + + + + + + + + + + + + + + + + + Reddit, but better