Skip to content

Commit

Permalink
🔇 Audio muting for Mediaset (ITA)
Browse files Browse the repository at this point in the history
Resolves #431
  • Loading branch information
richardfrost committed Aug 19, 2022
1 parent 230955c commit fe2286d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/script/webAudioSites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,24 @@ export const supportedSites: AudioSites = {
{ displaySelector: 'div.CaptionBox', mode: 'elementChild', parentSelector: 'div.CaptionBox', tagName: 'P' }
],
'www.itv.com': [{ mode: 'cue', videoCueLanguage: 'en' }],
'mediasetinfinity.mediaset.it': [
{
ignoreMutations: true,
mode: 'elementChild',
parentSelector: 'div#playerContainer > div > div > div > div > div',
simpleUnmute: true,
tagName: '#text',
videoSelector: 'div#playerContainer video',
},
{
ignoreMutations: true,
mode: 'elementChild',
parentSelector: 'div#playerContainer > div > div > div > div > div > div > div > div > div > div',
simpleUnmute: true,
tagName: 'DIV',
videoSelector: 'div#playerContainer video',
},
],
'www.nbc.com': [
{ className: 'ttr-line', mode: 'element', subtitleSelector: 'span.ttr-cue', tagName: 'DIV' },
{ mode: 'cue', videoCueLanguage: 'en' },
Expand Down

0 comments on commit fe2286d

Please sign in to comment.