Giter Site home page Giter Site logo

Comments (12)

NDevTK avatar NDevTK commented on June 6, 2024 1

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.

NDevTK avatar NDevTK commented on June 6, 2024 1

Fixed in version 2.7.7 and published on Firefox.

from autopause.

NDevTK avatar NDevTK commented on June 6, 2024

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.

DecodedMonkey avatar DecodedMonkey commented on June 6, 2024

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.

NDevTK avatar NDevTK commented on June 6, 2024

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.

NDevTK avatar NDevTK commented on June 6, 2024

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.

DecodedMonkey avatar DecodedMonkey commented on June 6, 2024

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.

DecodedMonkey avatar DecodedMonkey commented on June 6, 2024

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.

NDevTK avatar NDevTK commented on June 6, 2024

Did you try https://github.com/NDevTK/AutoPause/actions/runs/3201095010 that should remove the code injection part for netflix.

from autopause.

DecodedMonkey avatar DecodedMonkey commented on June 6, 2024

3201095010

Does fix the issue.

from autopause.

NDevTK avatar NDevTK commented on June 6, 2024

🎉Okay guess the issue is with WindowScript.js
Does the extension still pause the media?

from autopause.

DecodedMonkey avatar DecodedMonkey commented on June 6, 2024

Yes, seems to be working as intend.

from autopause.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.