Audio and Image File Upload Using CollectionFS and Amazon S3


#1

Hello everyone,
I’m trying to upload a photo and a audio file simultaneously onto a collection called ‘gifs’. I successfully uploaded them to my s3 buckets and I can display the image but I can’t play the audio file. I have been stuck with this problem for days and I can’t seem to find an answer.

I have created a repository for it. Here is the link to the GitHub Repository

If anyone can help me with it that will be really great thanks!


#2

Line 14 of this file you are filtering images in your sound collection.


#3

Hello @entropy thanks for responding and I did indeed make a blunder but I changed the code yet I still can’t load the mp3 file from my bucket. I however manually inserted the amazon s3 url to my html code and it does work. I’m not sure what else I can do. I checked the collectionFS s3 documentation but still nothing.


#4

Check your repo for my pull request.


#5

Yeah, I checked it and made the changes but still nothing. Look at the github comment I made for more information.