From 53adf50c0c5bb5a4d03dd9435d2e80497ca7aaf3 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Sat, 25 Apr 2020 13:36:09 +0800 Subject: [PATCH] fix example --- examples/resizeVertical.json5 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/resizeVertical.json5 b/examples/resizeVertical.json5 index 4f1ce43..044575c 100644 --- a/examples/resizeVertical.json5 +++ b/examples/resizeVertical.json5 @@ -3,12 +3,12 @@ outPath: './resizeVertical.mp4', defaults: { transition: { duration: 0 }, - layer: { fontPath: './Patua_One/PatuaOne-Regular.ttf' }, + layer: { fontPath: './assets/Patua_One/PatuaOne-Regular.ttf' }, }, clips: [ { duration: 2, layers: [{ type: 'title-background', text: 'Editly can handle all formats and sizes with different fits', background: { type: 'radial-gradient' } }] }, - { layers: [{ type: 'video', path: './IMG_4605.MOV', cutFrom: 0, cutTo: 2, resizeMode: 'contain' }, { type: 'title-background', text: 'Contain' }] }, - { layers: [{ type: 'video', path: './IMG_4605.MOV', cutFrom: 0, cutTo: 2, resizeMode: 'stretch' }, { type: 'title-background', text: 'Stretch' }] }, - { layers: [{ type: 'video', path: './IMG_4605.MOV', cutFrom: 0, cutTo: 2 }, { type: 'title-background', text: 'Cover' }] }, + { layers: [{ type: 'video', path: './assets/IMG_4605.MOV', cutFrom: 0, cutTo: 2, resizeMode: 'contain' }, { type: 'title-background', text: 'Contain' }] }, + { layers: [{ type: 'video', path: './assets/IMG_4605.MOV', cutFrom: 0, cutTo: 2, resizeMode: 'stretch' }, { type: 'title-background', text: 'Stretch' }] }, + { layers: [{ type: 'video', path: './assets/IMG_4605.MOV', cutFrom: 0, cutTo: 2 }, { type: 'title-background', text: 'Cover' }] }, ], } \ No newline at end of file