laravel-ffmpeg icon indicating copy to clipboard operation
laravel-ffmpeg copied to clipboard

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

Open MohamedAbdel-wahed opened this issue 3 years ago • 2 comments

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 avatar Nov 23 '22 08:11 MohamedAbdel-wahed

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

MohamedAbdel-wahed avatar Nov 23 '22 16:11 MohamedAbdel-wahed

@MohamedAbdel-wahed you found any solution?

jackbaron avatar Jan 12 '24 08:01 jackbaron