6

Here's my case: I get a Stream from a Web-Server. The format of this Stream is MJPEG. I embedded this stream in a html-site with the following code: <img src="http://172.17.52.161:9000/stream/video.mjpeg">, but I'd like to use a Player for this stream. Is there a possibility to use video.js with mjpeg-streams? My overall goal is to compile these files with Phonegap-Build, to use it on my Smartphone, is this possible? Thank you for your help!

F. Daniel
  • 73
  • 1
  • 1
  • 6
  • I can't find much but there is an answer here, it doesn't solve your issue per say but it gives a direction to look for an answer. http://stackoverflow.com/questions/19346775/rendering-mjpeg-stream-in-html5 – nulltron Dec 01 '15 at 15:11

1 Answers1

0

You can use an <video> tag

<video src="http://172.17.52.161:9000/stream/video.mjpeg" controls>
   Your browser does not support the <code>video</code> element.
</video>
ScaisEdge
  • 131,976
  • 10
  • 91
  • 107