balena-io-experimental / balena-wpe

Fullscreen WebKit browser with hardware accelerated CSS, WebGL, and HTML5 video for the RaspberryPi 3.
Apache License 2.0
380 stars 77 forks source link

<audio> element not working? #42

Open Codelica opened 5 years ago

Codelica commented 5 years ago

I feel like I've tried everything. Calling play() with button onclick event so there is interaction. Have tried MP3 and OGG. Always gives:

NotSupportedError: The operation is not supported.

Same code plays fine in Safari and Chrome. Seems odd. I do hear sound from the default YouTube TV. Curious if anyone has plain

dzucconi commented 5 years ago

I'm also trying to get this to work. HTML5 audio appears to be supported but it doesn't actually play back — if you try to feature detect it it looks like it should work. Loading the page: https://html5tutorial.info/html5-audio.php Loads a player with a loading message that just hangs.