toniebox-reverse-engineering / teddycloud

teddyCloud is an open source server replacement for the Boxine Cloud
https://toniebox-reverse-engineering.github.io/docs/tools/teddycloud/
GNU General Public License v2.0
368 stars 29 forks source link

Playback error in Safari #119

Open Tuphal opened 5 months ago

Tuphal commented 5 months ago

When accessing the webinterface and wanting to play a Tonie with Safari on an Mac, it is not working.

An Unhandled Promise Rejection: NotSupportedError: The operation is not supported. error is triggered in the brower console as soon as I click the play button. I uploaded an mp3 to test a different source and to exclude ogg extension as issue. When inspecting and injecting following mp3 source in the file viewer playback element, it is playing without issue: <audio controls="" style="width: 0px; visibility: hidden; transition: 1s;" src="/content/13B9E00F/test/03 - Rommel-Bommel.mp3?ogg=true&amp;special=content"></audio>

When using Firefox to view the files, its content plays without issues.

Seems as Safari does not ogg extensions? Ans possibility for an workaround?

SciLor commented 5 months ago

It looks like Safari does not fully support OPUS at the moment.

https://caniuse.com/opus