bkant
bkant

Reputation: 157

mediaelement.js support of HLS

Does mediaelement.js support HLS? I followed this very simple example, which claims HLS support. I also found this thread also claiming HLS support stating the importance of the mime. However, I could not get any of my streams or any samples I could find on the web to play. Are there any browser, OS, or mime requirements to get this to work?

Upvotes: 9

Views: 6500

Answers (1)

hkasera
hkasera

Reputation: 2148

You need to make some changes in the library. You can check out my changes. By just adding m3u8 in the supported formats it seems to work perfectly. https://github.com/sourcebits-harshitakasera/mediaelement-and-player-v2 It seems to work for me.

Upvotes: 3

Related Questions