Video playlist/ mp4-m3u8

How do you make video playlists in IPFS. I can use individual videos but how do I form a playlist of multiple videos or create a playlist and import it to IPFS? I am looking for it function as media and not just held in a folder.
Also how to use hls/m3u8 streams with IPFS

Just replace the name of the files in the playlist with http://YOUR_LOCAL_NODE/CID_HERE and it should load the file with IPFS.