HTML5 live video

I need to develop a web application, it must support IE9, as well as iPad and Android tablets. The problem I am facing is that the client has to show live video on all pages. How can I implement streaming video in HTML5 format?

+6
source share
2 answers

I recommended you use the Wowza Media Server (Ofcourse there are several streaming servers). Wowza provides video / audio with excellent performance and service) I use it for my projects. It also supports open source players such as stream player, Jw players, etc. Install Wowza Media Server on your computer and create a live application on it and start the broadcast. You need an encoder for live streaming, you can use Adobe Flash Media Live Encoder for testing. Wowza can stream videos to iphone, webpage, etc.,

+2
source

Try the code

<video id="movie" width="" height="" preload controls> <source id="srcMp4" src="video.mp4" /> <source id="srcOgg" src="video.ogg" /> <object id="flowplayer" name="flowplayer" width="480" height="352" data="http://releases.flowplayer.org/swf/flowplayer-3.2.5.swf" type="application/x-shockwave-flash"> <param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.5.swf" /> <param name="allowfullscreen" value="true" /> <param name="flashvars" value='config={"clip":"http://domain.com/video.flv"}' /> </object> </video> 

MP4 format is provided primarily due to a previous error in the iPad, which only the first source sees.

If the browser cannot play the MP4 version, it tries to download the Ogg version. If this fails, it uses Flowplayer (flash) as fallback.s

0
source

Source: https://habr.com/ru/post/912569/


All Articles