Skip to content

Commit

Permalink
🔇 Update Amazon muting for new watcher method
Browse files Browse the repository at this point in the history
  • Loading branch information
richardfrost committed Jul 12, 2020
1 parent 5b1728d commit cb3ec5e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/script/webAudioSites.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import Constants from './lib/constants';

export default class WebAudioSites {
static combineSites(sites: { [site: string]: AudioRule[] } = {}): { [site: string]: AudioRule[] } {
return Object.assign({}, WebAudioSites.sites, sites);
Expand All @@ -10,10 +8,11 @@ export default class WebAudioSites {
'www.amazon.com': [
{
mode: 'watcher',
displayHide: 'none',
displaySelector: 'div.webPlayerContainer div.f35bt6a',
displayShow: '',
iframe: false,
parentSelector: 'div.webPlayerContainer div p > span',
showSubtitles: Constants.ShowSubtitles.All,
simpleUnmute: true,
subtitleSelector: 'div.webPlayerContainer div span > span',
videoSelector: 'div.webPlayerElement video[src]'
}
Expand Down

0 comments on commit cb3ec5e

Please sign in to comment.