本视频播放器使用了 react、redux、redux-saga 实现了支持原生 H5 Video 的所有格式,同时添加了对 HLS 和 FLV 的支持。为了减轻打包 js 文件,兼容了 preact 替换 react,打包后的 js 文件 gzip 后的大小为**77KB**左右(hls 和 flv 的代码是会根据视频类型动态加载的,视频类型根据文件后缀名判别)。
Native Abstractions for Node.js: C++ header for Node 0.8 -> 26 compatibility
ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.
Test if a double-precision floating-point numeric value is NaN.
An open source Mux player web component that Just Works™
An open source Mux player for React that Just Works™
Interact with and control an embedded Vimeo Player.
YouTube IFrame Player API abstraction.
A React component for playing a variety of URLs, including file paths, Mux, YouTube, Vimeo, and Wistia
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
ESLint’s official `codeframe` formatter, extracted from ESLint 7
Test if a value is NaN.
React component for embedding a Remotion preview into your app
node's assert.deepEqual algorithm except for NaN being equal to NaN
ES2015-compliant shim for Object.is - differentiates between -0 and +0
Stringify any JavaScript value.
Implements the WebIDL algorithms for converting to and from JavaScript values
Lottie web player wrapper for React
An embeddable wistia-player web component and React wrapper to add responsive, lightweight, and SEO-friendly videos to your site.
DASH/EME video player library
rrweb's replayer UI
Fully declarative React Lottie player
A customizable React audio player. Written in TypeScript. Mobile compatible. Keyboard friendly
The constant NaN derived mathematically by 0 / 0.