Home >Web Front-end >JS Tutorial >Summary of usage and instructions of flv.js
What is Flv.js? It is an HTML5 Flash video (FLV) player, developed purely with native JavaScript and does not use Flash. Open sourced by bilibili website. Overview: A JavaScript library that implements playing FLV format videos in HTML5 videos. It works by transcoding and multiplexing FLV file streams into ISO BMFF (MP4 fragment) fragments and then Source Extensions feed MP4 clips into the browser. flv.js is written in ECMAScript 6, then compiled into ECMAScript 5 through Babel Compiler, and packaged using Browserify. Features: FLV container with H.264+AAC codecs Playback capabilities Multi-part segmented video playback HTTP FLV Low latency live streaming playback of FLV via WebSo
1. flv.js is What? How to use flv.js?
Introduction: Flv.js is an HTML5 Flash video (FLV) player, developed purely with native JavaScript. Flash is not used. Open sourced by bilibili website. A JavaScript library that implements playing FLV format videos in HTML5 videos. It works by transcoding and muxing an FLV file stream into ISO BMFF (MP4 fragment) fragments, then feeding the MP4 fragments into the browser via Media Source Extensions. flv.js is written using ECMAScript 6, and then passed through Babel Compiler
2. How to use flv.js? Comprehensive interpretation of the flv.js code
# Introduction: The code of the flv.js project has a certain scale. If you want For research, I suggest starting with demux. Once you understand demux, you will master the key steps of media data processing. The previous media data download and subsequent media data playback will become easier to understand.
3. Instructions for using open source code flv.js
4.
How to treat Bilibili (bilibili) open source HTML5 player core flv.js?
[Related Q&A recommendations]:
javascript - How to use MSE (MediaSource Extensions) to parse different Video format, or protocol? javascript - How to use flv.js I don’t know how to use node
The above is the detailed content of Summary of usage and instructions of flv.js. For more information, please follow other related articles on the PHP Chinese website!