m3u8 is a playlist and not an actual media format. In your case it seem to bee ts files. I'm not sure that they are playable in the browser. I suggest using mp4 instead.
Jan 1, 2021
7
Level 11
open .m3u8 files with video-js
Dear community I wish you a happy new year,
I have a question for you.
I converted my video to an .m3u8 file successfully and stored it on a public disk.
https://i.imgur.com/aAksvvg.png
Now I want to play the .m3u8 file in my browser using videos js
<video
id="my-video"
class="video-js"
controls
preload="auto"
width="640"
height="264"
{{-- poster="MY_VIDEO_POSTER.jpg"--}}
data-setup="{}"
>
<source src="/videos/17.m3u8" type="application/vnd.apple.mpegurl" />
{{-- <source src="MY_VIDEO.webm" type="video/webm" />--}}
</video>
for some reason the video is not beeing played back.
I heared something about an extra package to install to make this functionality available but then it states that this VHS package would already be avilable out of the box with video-js 7.x
https://github.com/videojs/http-streaming
I am confused how I can make this work
Please or to participate in this conversation.