From 5ed921ca855a9de86b42c47acea1e58e15f489d0 Mon Sep 17 00:00:00 2001 From: tingyuan Date: Fri, 29 Mar 2024 19:56:45 +0800 Subject: [PATCH] - --- src/routes/Play/Player.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/routes/Play/Player.tsx b/src/routes/Play/Player.tsx index b75b114..fd87de7 100644 --- a/src/routes/Play/Player.tsx +++ b/src/routes/Play/Player.tsx @@ -106,10 +106,6 @@ function Player(props: { currentPage: number; currentCid?: number }) { } if (currentAppState !== 'active') { KeepAwake.deactivateKeepAwake('PLAY') - webviewRef.current?.injectJavaScript(` - document.querySelector('video')?.play(); - true; - `) } }) useMounted(() => {