Comments (12)
If all goes well I will publish https://github.com/NDevTK/AutoPause/releases/tag/2.7.7 in less then 24 hours.
It also includes performance improvements since there was a logic issue with the content script.
Also it now pauses hidden muted media.
from autopause.
Fixed in version 2.7.7 and published on Firefox.
from autopause.
Thanks for the report :)
I don't have a netflix subscription.
When you press F12 while watching a video is there any errors?
Does this affect any other website?
from autopause.
Uncaught (in promise) DOMException: Node.removeChild: The node to be removed is not a child of this node
This error disappears when disabling the extension, so I think it is being caused by AutoPause.
from autopause.
Without the extension and a video playing...
Does this pause the media?
[...document.getElementsByTagName('video')].forEach(v => {v.playbackRate = 0}) ;
Does this play the media?
[...document.getElementsByTagName('video')].forEach(v => {v.playbackRate = 1});
Does this fix it? https://github.com/NDevTK/AutoPause/actions/runs/3201095010
from autopause.
Since this issue seems to be with the extension preventing .play()
I added error handling does https://github.com/NDevTK/AutoPause/actions/runs/3201219856 work?
If you need help testing it pls say :)
from autopause.
The media does Play and pause, using the code snippets.
3201219856 does not seem to fix the issue.
Though, I no longer see any errors in Firefox dev tools.
from autopause.
I take that back the error is still there had to refresh a few times though. Not sure what that is about.
I am doing this testing in a clean version of Firefox Dev Edition
from autopause.
Did you try https://github.com/NDevTK/AutoPause/actions/runs/3201095010 that should remove the code injection part for netflix.
from autopause.
Does fix the issue.
from autopause.
🎉Okay guess the issue is with WindowScript.js
Does the extension still pause the media?
from autopause.
Yes, seems to be working as intend.
from autopause.
Related Issues (16)
- How will it work in case of inherited HTML tags (custom elements) and Shadow DOM (including closed DOM)? HOT 6
- Pausing picture in picture does not use automatic resume HOT 2
- checkVisibility cant check for PiP on firefox. HOT 1
- Media from Pandora is no longer paused when switching tabs HOT 22
- Go to Active Tab Hotkey HOT 7
- Prevent websites with notification sounds (or any website) from pausing other websites playing media? HOT 9
- Clarify multi-window usage HOT 6
- Can't change settings when extensions.webextensions.remote = false HOT 11
- [Feature Request] Options to disable auto-resume feature HOT 3
- Can't customize keyboard shortcuts HOT 3
- PiP detection is not universal. HOT 1
- doesn't work on many sites .. HOT 7
- Potentially not wanted third tab behavior HOT 40
- Fix silent media detection HOT 1
- Fix issue with multiple windows HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autopause.