From 4b1a6d78c4c53c9b2a414d8c55e84375a4655bd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pete=20Nyk=C3=A4nen?= Date: Tue, 28 Apr 2020 19:11:15 +0300 Subject: [PATCH] Fix minor issues with editSpec documentation --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index bf6b69a..2bec09d 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ await editly(editSpec) ## Edit spec -Edit specs are Javascript / JSON ojects describing the whole edit operation with the following structure: +Edit specs are Javascript / JSON objects describing the whole edit operation with the following structure: ```js { @@ -100,10 +100,10 @@ Edit specs are Javascript / JSON ojects describing the whole edit operation with height, fps, defaults: { - duration = 4, + duration: 4, transition: { - duration = 0.5, - name = 'random', + duration: 0.5, + name: 'random', }, layer: { fontPath, @@ -127,9 +127,9 @@ Edit specs are Javascript / JSON ojects describing the whole edit operation with ], // Testing options: - enableFfmpegLog = false, - verbose = false, - fast = false, + enableFfmpegLog: false, + verbose: false, + fast: false, } ``` @@ -245,4 +245,4 @@ Loads a GLSL shader. See [gl.json5](https://github.com/mifi/editly/blob/master/e - https://github.com/h2non/videoshow - https://github.com/transitive-bullshit/ffmpeg-concat - https://github.com/sjfricke/awesome-webgl -- https://www.mltframework.org/docs/melt/ \ No newline at end of file +- https://www.mltframework.org/docs/melt/