From c9d19b76a6c5fd573641ce5a81ae8ec8c0e15c31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emre=20=C3=96zcan?= Date: Wed, 20 Mar 2024 19:00:30 +0300 Subject: [PATCH] Use setInterval and two canvases for ambient mode --- html/poketube.ejs | 55 +++++++++++++++++++++++++++++++---------------- 1 file changed, 36 insertions(+), 19 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 7c09f07d..de4b55dc 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -1075,7 +1075,8 @@ display: block; !important;" autoplay controls> <% if (!a) { %> - + + <% } %> @@ -1930,29 +1931,43 @@ if (/[?&]autoplay=/.test(location.search)) {