D20830: Add hack to unbreak audio playback through pure JS via new Audio()
Fabian Vogt
noreply at phabricator.kde.org
Thu Apr 25 21:30:15 BST 2019
fvogt added a comment.
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?
REPOSITORY
R856 Plasma Browser Integration
REVISION DETAIL
https://phabricator.kde.org/D20830
To: broulik, #plasma, fvogt
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190425/0c91e64f/attachment.html>
More information about the Plasma-devel
mailing list