UNPKG

pixi.js

Version:

<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">

17 lines (14 loc) 476 B
import { ExtensionType } from '../../../extensions/Extensions.mjs'; import { testVideoFormat } from '../utils/testVideoFormat.mjs'; "use strict"; const detectWebm = { extension: { type: ExtensionType.DetectionParser, priority: 0 }, test: async () => testVideoFormat("video/webm"), add: async (formats) => [...formats, "webm"], remove: async (formats) => formats.filter((f) => f !== "webm") }; export { detectWebm }; //# sourceMappingURL=detectWebm.mjs.map