How can I play my playlist (m3u, pls) on Firefox OS?
If those formats aren't support, are there any other formats or workarounds to have your own playlists (instead of only albums and the predefined ones, like highest rated)?
How can I play my playlist (m3u, pls) on Firefox OS?
If those formats aren't support, are there any other formats or workarounds to have your own playlists (instead of only albums and the predefined ones, like highest rated)?
The <audio>
and <video>
elements provide support for playing audio and video media in firefox-os, but the W3C HTML5 specification does not support playlist file formats.
However, you can create your own media player or use any existing media player libraries.
Remember, .m3u
and .pls
are plain text formats. You can request your playlist files with the Device Storage API or by ajax from within your apps root folder for further parsing.