Powerful web live/on-demand player, simple to use, powerful, free to use for life
- Supports M3U8 playback;
- Supports HTTP-FLV playback.
- Support RTMP playback;
- Support live broadcast and on-demand broadcast;
- Player snapshot screenshot support;
- Support on-demand multi definition playback;
- Support full screen or proportional display;
- Built-in Flash supports extreme speed and smooth mode;
- The built-in Flash supports HTTP-FLV playback.
- Automatic detection of Internet Explorer compatible playback;
See: https://www.npmjs.com/package/@liveqing/liveplayer
Download compressed packages
Add an example to the multi-player page
<! DOCTYPE HTML> <html> <head> <title>liveplayer</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport"> </head> <body> <div id="liveplayers"></div> <script type="text/javascript" src="liveplayer-element.min.js"></script> <script type="text/javascript"> var players =[ "video_url_1", "video_url_2", "video_url_3", ] var liveplayers = document.getElementById("liveplayers"); for (var i=0; i<players.length; i++) { var div = document.createElement("div"); div.id = "liveplayer_"+i; div.innerHTML = "<live-player video-url='"+players[i]+"' live='false' aspect='16:9'></live-player>"; liveplayers.appendChild(div); } </script> </body> </html>Copy the code
The variable Players array puts multiple addresses to be played, which can also be obtained from other interfaces.
For more information
Security streaming media Internet live -QQ exchange group: 615081503
Gb GB28181 Without liveGBS-QQ communication group: 947137753
WEB:www.liveqing.com
Tel: 189-5515-0114
Copyright © 2016-2019 at LiveQing.com