0%

What is m3u8 link in html5 video tag?

Quick anwser

.m3u8 is a video streaming file, it plays video and hides the video file

Some application can play the video, or convert it to other file format

Background

I was trying to make an expo application that plays anime from a website

The website is playing video in .m3u8 format and I have done some research about it

Although expo’s docs said it is supported to play .m3u8:

… A dictionary of the form { uri: string, headers?: { [string]: string }, overrideFileExtensionAndroid?: string } with a network URL pointing to a video file on the web, an optional headers object passed in a network request to the uri and an optional Android-specific overrideFileExtensionAndroid string overriding extension inferred from the URL. The overrideFileExtensionAndroid property may come in handy if the player receives an URL like example.com/play which redirects to example.com/player.m3u8. Setting this property to m3u8 would allow the Android player to properly infer the content type of the media and use proper media file reader.

I didn’t make it works at the end