Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
lovetingyuan committed Mar 29, 2024
1 parent 05ae4e5 commit 5ed921c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/routes/Play/Player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit 5ed921c

Please sign in to comment.