My idea is & amp; lt; vediosrc & #039; xxapi & #039; & amp; gt; The backend transmits video file data (binary) to the front end ), then, I changed the corresponding header but failed to try it. I did not find the relevant information on the internet. I don't know where the problem is. the expected result is: {code ...} my idea is:
The backend transmits the video file data (binary) to the front end, and then changes the corresponding header.
However, I failed to find the relevant information on the Internet,
I don't know where the problem is.
The expected effect is as follows:
http://hc.yinyuetai.com/uploads/videos/common/B7D20154766D39739AF193BCE138419F.flv?sc\u003d0743670c523be875\u0026br\u003d759\u0026vid\u003d2561631\u0026aid\u003d311\u0026area\u003dHT\u0026vst\u003d2
Reply content:
My idea is:
The backend transmits the video file data (binary) to the front end, and then changes the corresponding header.
However, I failed to find the relevant information on the Internet,
I don't know where the problem is.
The expected effect is as follows:
http://hc.yinyuetai.com/uploads/videos/common/B7D20154766D39739AF193BCE138419F.flv?sc\u003d0743670c523be875\u0026br\u003d759\u0026vid\u003d2561631\u0026aid\u003d311\u0026area\u003dHT\u0026vst\u003d2
On the video playback server, the backend transmits the video address to the front end.
How did you write the header and output the video content cyclically?
The backend transmits the video address to the front end. html5 supports video playback. use tags.
Is it the HLS protocol?
This kind of thing should first look at the network protocol, find information, or which CDN video stream you use will also write the corresponding protocol