pub / yt2html

Fetches Youtube content via RSS and provides a chronological timeline
git clone https://src.jayvii.de/pub/yt2html.git
Home | Log | Files | Exports | Refs | README | RSS

commit 4d37fb856ef2818a4ffc35916f5f2dfb017329e8
parent 83d22442f32ce1fb96ccaeaefe98f53452347437
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Thu, 11 Dec 2025 19:01:24 +0100

feat: add button to disable player again

Diffstat:
Mindex.php | 10+++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/index.php b/index.php @@ -363,7 +363,12 @@ </div> <!-- player Container --> - <div class="player_container hidden"></div> + <div class="player_container hidden"> + <?php $js_args = $index . ",'" . $video["vid"] . "'"; ?> + <button onclick="yt2html_toggle_player(<?php echo $js_args; ?>)"> + Toggle Player + </button> + </div> <!-- Preview Image --> <div @@ -376,7 +381,6 @@ height="100%" width="100%" > - <?php $js_args = $index . ",'" . $video["vid"] . "'"; ?> <div class="play_button" onclick="yt2html_toggle_player(<?php echo $js_args; ?>)" @@ -384,7 +388,7 @@ </div> </div> - <!-- Chat Collapsable --> + <!-- Description Collapsable --> <details> <summary> Description