fat-mp3
Play an MP3 from a file or directly from a HTTP stream through your speakers.
Basic usage
const fmp3 = ; // Play an MP3 from a file.const filePlayer = "test.mp3";filePlayer; // Pause it after ten seconds.; // Play an MP3 file over HTTP.const hPlayer = "http://somesite.com/test.mp3";hPlayer;
More detailed features
Begin buffering over HTTP in the background before playing
const fmp3 = ;const hPlayer = "http://somesite.com/test.mp3";hPlayer;hPlayer; // Let the player buffer for thirty seconds before playback begins.;