sindresorhus / Plash

💦 Make any website your Mac desktop wallpaper

Home Page:https://sindresorhus.com/plash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Force mute

tonweb-ru opened this issue · comments

Force mute on websites. It is necessary that the sound remains on the page.
In safari, the site is set to "do not block sound", it works in the browser, but not in the application.
In app options: "Mute audio" is off..

Audio code in page:

<script> const AudioContext = window.AudioContext || window.webkitAudioContext; const audioCtx = new AudioContext(); bell = new Audio("danger.mp3"); /*** The magical line ***/ bell.load() bell.play() </script>

Plash 2.13.4 (53) - com.sindresorhus.Plash
macOS 13.4.1
MacBookAir10,1