Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for WebM (and MKA) files #218

Open
hdorio opened this issue Oct 9, 2024 · 1 comment
Open

Support for WebM (and MKA) files #218

hdorio opened this issue Oct 9, 2024 · 1 comment

Comments

@hdorio
Copy link

hdorio commented Oct 9, 2024

I'd like to request support for WebM and MKA files (especially those containing Opus audio) in Polaris.

Many modern web browsers, including Google Chrome and Firefox, natively support WebM.
To my knowledge, MKA files (featuring Vorbis or Opus audio) are supported exclusively by Google Chrome. Since WebM is a limited subset of Matroska files, it is unclear why Firefox opted to support only WebM and not MKA.

As Polaris is designed to play audio files supported by web browsers, it would be great if these formats could also be added to the list of playable file types.

Additionally, here is a video using the filebrowser project where you can see the HTML <audio> (or <video>) tag in action, playing audio files (including WebM and MKA) on both Google Chrome and Firefox.

@agersant
Copy link
Owner

agersant commented Oct 9, 2024

Thanks for the good suggestion!

Browser support isn't the full story, as the Polaris server also needs to be able to read the format to extract song metadata. I am going to evaluate https://github.com/pdeljanov/Symphonia which is hopefully more complete than the current collage of libraries we are using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants