video-mosaic-generator
v1.1.2
Published
## Example
Downloads
2
Readme
Volume Mosaic Render
Example
const MosaicRender = require('./build/index').default;
const mr = new MosaicRender();
const v = [
{
layoutId: 1
filePath: './testfiles/1-60secs.mp4',
}, {
layoutId: 2
filePath: './testfiles/2-60secs.mp4',
}];
const t = 'heathrow-t3';
mr.on('progress', function (data) {
console.log(data);
});
mr.render({
template: t,
videos: v,
});