I'm currently trying to integrate FLAC native playback support via browser such as Firefox using javascript such as follows:
https://github.com/ofmlabs/flac.js
However, I'm not sure where should I start, in particular how to pass the selected music as the input.