简体   繁体   中英

javascript html5 stream player

I'am looking for some javascript player that could play hds or rtmp stream. Can't find it still.

We have a wowza, that is sending to end users a video stream in rtmp, and it is being played with Flowplayer. Now people want to watch this stream on iPad/Android devices. We have succesfully played it on Android 4.0 tablet because I've installed a flash player there. It plays right in the browser. But I cannot find similiar player for iPad. I heared that it does not exist. So the best solution would be some kind of JavaScript player.

You won't be able to play an RTMP stream on a plain webpage in iOS. HDS appears to be closely tied to Flash Player, so you might not be able to use it either, but given that it has HTTP in its name, it might be usable.

If you have some video that you stream the normal way, just use the video tag:

<video width="800" height="600" src="some-video.mp4">
    Your browser does not support HTML5 video. Sorry.
</video>

If your video is available in multiple formats, you can drop the src attribute on the video element and instead have multiple source elements with src and type attributes.

If your web server is configured correctly, video can be streamed this way.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM