Free H5 player HLS/HTTP-FLV/WS-FLV/RTMP/H265/HEVC Live On-demand streaming FAQ
- 1. The Console displays an error message
- 2. Multi-split-screen over 6 channels cannot be played
- 3. How to adapt div
- 4. How to destroy the player
- 5. Install liveplayer. js
1. The Console displays an error message
- TypeError: The element or ID supplied is not valid. (Videojs) TypeError: The element or ID supplied is not valid.
Check whether the playback address set by video-url is valid (try using VLC to play)
- Access to XMLHttpRequest at… The from origin… has been blocked by CORS policy
Check whether the playback address set by video-URL allows cross-domain access
2. Multi-split-screen over 6 channels cannot be played
Browsers limit the number of concurrent same-origin HTTP/1.x connections. There are two ways to avoid this problem:
- Access the live stream through the WebSocket protocol
- Enable HTTPS to access live streams
3. How to adapt div
Set aspect= ‘fullscreen’, parent element plus position: relative
4. How to destroy the player
Set the video-URL property to null and destroy it