IPTV add-on doesn’t recognize mp4/mkv streams

Dear community,
I have a web list configured in IPTV Simple Client. It works perfect on m3u/m3u8 links, but doesn’t recognize the mkv/mp4 stream.

This, for example, works perfect and the stream is correctly shown on channels list:
http://b2.stream14.rai.it/italy/rai1_120…klist.m3u8

These don’t work (not shown in channel list):
http://XXXXXXXXXXX/movie/53393/82863/10106.mkv
http://XXXXXXXXXXXX/movie/3393/82863/17945.mp4

Why? Is there a way to setup the client for those kind of streams?

Thank you
Lucas