Broadcast page set RTMP, HLS, FLV ,, WebSocket-in-one / player program on-demand video player interface EasyPlayer.js Snapshot button and stretching a plurality of processing flow

background analysis

EasyPlayer covering almost all the required platform developers, especially in the web side EasyPlayer.js, greatly facilitate the developers to solve the problems encountered in the development of B / S type service player access, such as: do not know distal js code, no public server js script and place these pages, there are restrictions on the micro-channel playback access IP address.

EasyPlayer.js launched a timely manner a very good tool page, set rtmp, hls, flv, websocket in a live web / on-demand player, simple to use, powerful, whether it is a test, or be integrated, easy .

  • Support m3u8 play;
  • Supports HTTP-FLV player;
  • Support RTMP playback;
  • Support live and on-demand playback;
  • Support players snapshot capture;
  • Support on-demand multi-definition playback;
  • It supports full-screen display or proportion;
  • Built-in flash mode supports speed and smooth;
  • Built-in flash support HTTP-FLV player;
  • IE browser automatically detects compatible player.

EasyPlayer.js solve Snapshot button and stretch multiple problems

Ask a question

In the course of recent use EasyPlayer.js, appear control bar display issue multiple snapshots, tensile button.

1.png

Analyze problems
first analysis shows that, request a list of Google browser video stream delay is relatively large. Own local test, access is no problem, to determine the initial network problems.
Then comparative analysis, found snapshots and drawing two buttons reason because the network initialization times.

2.png

Solve problems
we can add a button in place initialization of about judgment, determine whether the button has been initialized, initialize multiple button once to avoid multiple problems caused by the phenomenon.

3.png

Guess you like

Origin www.cnblogs.com/TSINGSEE/p/11737928.html