Browse Source

Merge branch 'master' into new-features-2020

stateless
Mikael Finstad 6 years ago
parent
commit
715ef3dffe
  1. 3
      README.md
  2. 4
      examples/customFabric.js
  3. 2
      package.json

3
README.md

@ -325,9 +325,6 @@ See [position.json5](https://github.com/mifi/editly/blob/master/examples/positio
- https://github.com/sjfricke/awesome-webgl
- https://www.mltframework.org/docs/melt/
## TODO
- Keep source audio (See [#1](https://github.com/mifi/editly/issues/1))
---

4
examples/customFabric.js

@ -2,8 +2,8 @@ const editly = require('..');
/* eslint-disable spaced-comment,no-param-reassign */
async function func({ width, height, fabric, canvas }) {
async function onRender(progress) {
async function func({ width, height, fabric }) {
async function onRender(progress, canvas) {
canvas.backgroundColor = 'hsl(33, 100%, 50%)';
const text = new fabric.Text(`PROGRESS\n${Math.floor(progress * 100)}%`, {

2
package.json

@ -1,7 +1,7 @@
{
"name": "editly",
"description": "Simple, sexy, declarative video editing",
"version": "0.4.0",
"version": "0.5.0",
"main": "index.js",
"author": "Mikael Finstad <finstaden@gmail.com>",
"license": "MIT",

Loading…
Cancel
Save