Well.. you will need to save this file "somewhere" so you can stream it to the js player you are using.. If you have no intention of keeping the file forever, and use it just for that session, move the file to a temp folder and stream it from there. Write a cron to delete old files which will run every 24hrs or so.
Judging by the example at the main page of wavesurfer.fm this player can play local files through loadBlob
method. So if you don't need user files on the server side, you can do everything on the client side.
Xum said:
Judging by the example at the main page of wavesurfer.fm this player can play local files through
loadBlob
method. So if you don't need user files on the server side, you can do everything on the client side.
Ahh thank you for that. I forgot about the Blob option with javascript. I got it working now.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community