I have created a video sharing website, and i convert my mp4 videos to ts files. when i open my website through chrome idm catch ts files , and wants to download them, how can i prevent this ?
There is no way, like your mp4 file.
@Globulopolis please tell me what i am looking for ?
@elhampour try to read.
@Globulopolis please be nice.
@elhampour chrome doesn't support ts segments by default. So, when encountered with a file like that, it seems that idm wants to download it rather than trying to play it. If you're trying to play HLS content, you'll want something like contrib-hls to be able to play it back.
A browser only will force to download a file, if it doesn't know how to handle it, so the first step is make sure that you are serving the correct mime type for the file. You must to check your server configuration and the mime type for ts files = video/mp2t