Repository navigation
- Ship ES module, CommonJS, and UMD builds with TypeScript types. The default import now works in bundlers.
require()still exposescaptureVideoFrame, and the UMD build keeps thecaptureVideoFrameglobal and AMD support.- Breaking: the
capture-video-frame/capture-video-frame.jspath is gone. Use the package name, ordist/capture-video-frame.umd.jsfor a script tag. - Add
webpoutput. The returnedformatis the format the browser actually encoded. - Add
captureVideoFrameAsync(), based oncanvas.toBlob(). - Return
falsewhen the video has no frame loaded yet. - Respect a
qualityof 0. - Remove Bower support.
npm: https://www.npmjs.com/package/capture-video-frame/v/2.0.0