protonemedia / laravel-ffmpeg

This package provides an integration with FFmpeg for Laravel. Laravel's Filesystem handles the storage of the files.
https://protone.media/en/blog/how-to-use-ffmpeg-in-your-laravel-projects
MIT License
1.63k stars 194 forks source link

is it possible to force download m3u8 file from laravel side to client side #454

Open MohamedAbdel-wahed opened 1 year ago

MohamedAbdel-wahed commented 1 year ago

i want the user to download the file once he visits the m3u8 video path

when i serve the file through FFMPEG DynamicPlaylist : in desktop -> browsers do it by default but in mobile -> browsers streams the file normally as the normal player does

so how can i force the download when the user calls the api endpoint

i hope anyone answer me if it's possible or not and if yes, How ?

Thank you so much in advance

MohamedAbdel-wahed commented 1 year ago

By the way, i am trying to download videos to client side to be able to display them offline

jackbaron commented 8 months ago

@MohamedAbdel-wahed you found any solution?