I’m just getting started with Meteor and I want to play a static audio file, either MP3 or M4A. I can’t seem to find the right place to put such a file. I created a public/ directory and put my audio files in there, but then when I try to load http://localhost:3000/public/myfile.mp3, it just loads my Meteor home page again (i.e., a regular HTML page, not the audio file). It’s like the server isn’t seeing the file. Is there some way I have to register the file with Meteor, or should it be in a different location? Thanks.
I’m just getting started with Meteor and I want to play a static audio
Share
Okay, it was there, you just don’t access it via
/public/myfile.mp3, but rather through/myfile.mp3.