Files
nothoughts/node_modules/pixi.js/lib/assets/detections/parsers/detectWebm.js
2025-08-04 18:57:35 +02:00

19 lines
520 B
JavaScript

'use strict';
var Extensions = require('../../../extensions/Extensions.js');
var testVideoFormat = require('../utils/testVideoFormat.js');
"use strict";
const detectWebm = {
extension: {
type: Extensions.ExtensionType.DetectionParser,
priority: 0
},
test: async () => testVideoFormat.testVideoFormat("video/webm"),
add: async (formats) => [...formats, "webm"],
remove: async (formats) => formats.filter((f) => f !== "webm")
};
exports.detectWebm = detectWebm;
//# sourceMappingURL=detectWebm.js.map