Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amazon prime video not muting audio #559

Closed
jorymadi opened this issue Jul 18, 2024 · 9 comments
Closed

amazon prime video not muting audio #559

jorymadi opened this issue Jul 18, 2024 · 9 comments
Assignees
Labels
Audio Bug Something isn't working

Comments

@jorymadi
Copy link

As the title suggests, when I try using the filter with Amazon Prime on Chrome and Firefox, it won't mute the audio for any profanity.

I followed the instructions as closely as I could, and still nothing.

I'm not sure if I'm missing something, or if Prime Video changed something, since it's worked for me before

Thanks for any help!

@jorymadi jorymadi added the Bug Something isn't working label Jul 18, 2024
@andrewrmcneill
Copy link

andrewrmcneill commented Jul 18, 2024

I'm also experiencing this issue with the Amazon Prime UK site. The filter captures the subtitle text but does not mute the audio.

If it's any help, I've identified a code snippet of subtitles but haven't had any success at turning it into a custom configuration:

<div class="f1iwgj00" dir="auto"><div style="text-align: center; justify-content: flex-end; width: 100%; left: 0%; bottom: 30px; display: flex; position: absolute; flex-direction: column;"><p style="width: 100%; margin: 0px; font-style: normal; font-weight: normal; font-size: 100%;"><span class="fbhsa9" style="background-color: rgba(0, 0, 0, 0);"><span class="atvwebplayersdk-captions-text f7j034j" style="background-color: rgba(0, 0, 0, 0.5); color: rgb(255, 255, 255); font-size: 32px;">♪ I swear to God<br>I've seen it all ♪</span></span></p></div></div>

Thanks for any help!

@acougle
Copy link

acougle commented Jul 21, 2024

Amazon Prime has stopped being filtered (Netflix still is). Won't mute or substitute captions.

@richardfrost
Copy link
Collaborator

Thanks for all the reports. I'm going to look into it, but most likely Amazon has made a change to their site that is interfering with APF's ability to correctly identify captions/subtitles.

@richardfrost richardfrost self-assigned this Jul 21, 2024
@richardfrost
Copy link
Collaborator

richardfrost commented Jul 26, 2024

Sorry for the wait everyone (@jorymadi, @andrewrmcneill, @acougle), it took a bit more work than I expected to work through it. If anyone is available for trying something, please try the following config:

{
  "www.amazon.co.uk": [
    {
      "displaySelector": "div.atvwebplayersdk-captions-overlay span.atvwebplayersdk-captions-text",
      "iframe": false,
      "mode": "watcher",
      "parentSelector": "span.atvwebplayersdk-captions-text",
      "videoSelector": "div#dv-web-player video[src]"
    }
  ],
  "www.amazon.com": [
    {
      "displaySelector": "div.atvwebplayersdk-captions-overlay span.atvwebplayersdk-captions-text",
      "iframe": false,
      "mode": "watcher",
      "parentSelector": "span.atvwebplayersdk-captions-text",
      "videoSelector": "div#dv-web-player video[src]"
    }
  ],
  "www.primevideo.com": [
    {
      "displaySelector": "div.atvwebplayersdk-captions-overlay span.atvwebplayersdk-captions-text",
      "iframe": false,
      "mode": "watcher",
      "parentSelector": "span.atvwebplayersdk-captions-text",
      "videoSelector": "div#dv-web-player video[src]"
    }
  ]
}

To use this config, paste it into the Custom Sites area (Options page > Audio tab) and click the blue "SAVE" button underneath it. Then, make sure to refresh the tab for the video site (if you have it open still) and it will load this new configuration.

To make sure you get the latest updates in the future for Amazon, please make sure to remove this custom config when used for testing like this after it has been included in the official update.

If you can test it and let me know how it goes that would be great!

@ITNerd79
Copy link

Just tested and it is working :)

@andrewrmcneill
Copy link

Amazing! Thank you, Richard - this works perfectly.

@ricktheartist
Copy link

Just tried it. It works again. Yay! Thank you Richard!

@jorymadi
Copy link
Author

It's working for me too. Thanks!

@richardfrost
Copy link
Collaborator

Awesome! Thanks for all the reports everyone. Version 3.5.1 should now be available on most stores, so if you get the update you shouldn't need this custom config anymore. I recommend removing it so that you will get any future updates for Amazon as they get included in the extension. Thanks again for all the reports, it really helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Audio Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants