Let the comment in the code speak for itself. Now, where is my jug of disinfecting agent...
BUG: 406947
fvogt |
Plasma |
Let the comment in the code speak for itself. Now, where is my jug of disinfecting agent...
BUG: 406947
Google translate works again and so does https://www.radio.net/s/cinemix for which I originally added this.
Can also control them via p-b-i
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
I'm not sure why this is necessary - during new Audio the created object can't play anything by itself as src is not set.
If just doing createdAudio.paused = false after the removeChild is not enough, is that because the DOM modifications are queued and executed after the audio started playing?
Here I can let google translate speak and play the radio just fine, but neither of them are visible to pbi. So race condition, browser differences or bug?
Looks like a recent policy change in Chrome, only my Chrome 74 seems affected and I recall it working half a year ago when I implemented this feature.