0

There is video tag on external site with autoplay. I want to create browser extension that unmute video.

In case

document.querySelector('video').muted = false

Occur warning

Unmuting failed and the element was paused instead because the user didn't interact with the document before. details

Is there permission or hack for browser extension that allow unmute?

Viewed
  • 1,159
  • 3
  • 16
  • 43
  • 2
    Does this answer your question? [HTML5 Video autoplay with sound unmuted](https://stackoverflow.com/questions/70719678/html5-video-autoplay-with-sound-unmuted) – evolutionxbox Jul 10 '23 at 11:07
  • 2
    Also please don't do this – evolutionxbox Jul 10 '23 at 11:07
  • 1
    What is the context here, why do you want to do this via a browser extension? Is that supposed to be just for yourself (if so - why don't you start your chrome with the command line flag that completely disables this check?); or who is eventually supposed to use this, resp. what is the _situation_ in which you need this to work? – CBroe Jul 10 '23 at 11:19
  • 1
    @CBroe context is streaming services. When user refresh page for any reason (F5), video is muting. – Viewed Jul 10 '23 at 11:34

0 Answers0