@tsparticles/plugin-export-video
Version:
tsParticles export video plugin
19 lines (18 loc) • 793 B
JavaScript
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports", "./ExportVideoPlugin.js"], factory);
}
})(function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.loadExportVideoPlugin = loadExportVideoPlugin;
const ExportVideoPlugin_js_1 = require("./ExportVideoPlugin.js");
async function loadExportVideoPlugin(engine, refresh = true) {
engine.checkVersion("3.9.1");
await engine.addPlugin(new ExportVideoPlugin_js_1.ExportVideoPlugin(engine), refresh);
}
});