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 5c31444bee79dd42688ab7949d4c6fec9fe11ca5
parent 09f60a2ca07756b2a15be7938ca924e5fcc4e6db
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Wed, 16 Sep 2026 22:59:53 +0200

fix: set player settings explicitely

Diffstat:
Massets/js/yt.js | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/assets/js/yt.js b/assets/js/yt.js @@ -42,7 +42,9 @@ function yt2html_toggle_player(index, video) { player.frameborder = "0"; player.scrolling = "no"; player.src = "https://www.youtube-nocookie.com/embed/" + video + - "?autoplay=1"; + "?autoplay=1" + // no auto play + "&cc_load_policy=0" + // no subtitles + "&color=white" // white status bar // inject player into video container section.querySelector(".player_container").prepend(player);