x_ite icon indicating copy to clipboard operation
x_ite copied to clipboard

[info] chrome wont play sounds at first.

Open splace opened this issue 7 years ago • 2 comments
trafficstars

some sort of ad blocking? firefox is fine.

guess this 'feature' might become standard practice or might just go away.

chrome log....

x_ite.min.js:33 Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD

useful link...

https://stackoverflow.com/questions/49930680/how-to-handle-uncaught-in-promise-domexception-play-failed-because-the-use

splace avatar Sep 17 '18 17:09 splace

As the log shows, there is an explanation why. https://goo.gl/xX8pDD Using the AudioClip node or MovieTexture node is not other than using a audio or video tag and X3D authors must respect the browser issues.

create3000 avatar Nov 14 '18 18:11 create3000

.... X3D authors must respect the browser issues.

IMO authors can't be expected to do this and don't need to be made too, X-ITE should check sound is being suppressed and then display a message.

splace avatar Nov 14 '18 18:11 splace

FYI not sure when/why but seems fine now.

splace avatar Sep 03 '24 22:09 splace