Closed NadirRed closed 4 years ago
Hi, i was following this tutorial https://medium.com/better-programming/video-stream-with-node-js-and-html5-320b3191a6b6 so i want to ask if it is possible to : pass the data from m3u8stream() directly to web player (using express) then play it on html page like this :
<video id="videoPlayer" controls> <source src="http://localhost:3000/video" type="video/mp4"> </video>
(im still learning nodejs) sorry if its not allowed to post this kind of questions Thank you.
I haven't tried that myself, but I don't see why not. note that the player won't support seeking, you'd have to add that yourself.
tbh, there are better libraries out there made in mind for web players
Hi, i was following this tutorial https://medium.com/better-programming/video-stream-with-node-js-and-html5-320b3191a6b6 so i want to ask if it is possible to : pass the data from m3u8stream() directly to web player (using express) then play it on html page like this :
(im still learning nodejs) sorry if its not allowed to post this kind of questions Thank you.