From 71a33432b2564fb2a10305037b624f03f8c85ea9 Mon Sep 17 00:00:00 2001 From: tingyuan <1932294867@qq.com> Date: Sun, 31 Mar 2024 12:34:13 +0800 Subject: [PATCH] - --- src/routes/Play/update-playurl.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/routes/Play/update-playurl.js b/src/routes/Play/update-playurl.js index 6052e7e..66d0906 100644 --- a/src/routes/Play/update-playurl.js +++ b/src/routes/Play/update-playurl.js @@ -21,9 +21,7 @@ function __$hack() { if (window.newVideoUrl.includes('_high_quality')) { document.body.dataset.replaced = 'true' } - setTimeout(() => { - ele.play() - }) + ele.setAttribute('autoplay', 'true') } } })