We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d097bd8 commit 89d5082Copy full SHA for 89d5082
1 file changed
content.js
@@ -15,16 +15,7 @@ function enablePiP(video) {
15
}
16
});
17
18
- // AUTO PiP when video starts playing
19
- video.addEventListener("play", async () => {
20
- if (!document.pictureInPictureElement) {
21
- try {
22
- await video.requestPictureInPicture();
23
- } catch (e) {
24
- // Brave blocks if no user gesture — SAFE TO IGNORE
25
- }
26
27
- });
+
28
29
30
// Detect existing videos
0 commit comments