Browse Source

improve example

stateless
Mikael Finstad 6 years ago
parent
commit
9feb94112f
  1. 4
      examples/imageOverlay.json5

4
examples/imageOverlay.json5

@ -5,8 +5,8 @@
{ type: 'video', path: './assets/IMG_4605.MOV', cutTo: 2 }, { type: 'video', path: './assets/IMG_4605.MOV', cutTo: 2 },
{ type: 'image-overlay', path: './assets/overlay.svg', width: 0.2, position: { x: 0.95, y: 0.03, originX: 'right' } }, { type: 'image-overlay', path: './assets/overlay.svg', width: 0.2, position: { x: 0.95, y: 0.03, originX: 'right' } },
{ type: 'image-overlay', path: './assets/emoji.png', visibleUntil: 0.5, zoomDirection: 'in' }, { type: 'image-overlay', path: './assets/emoji.png', visibleUntil: 0.5, zoomDirection: 'in' },
{ type: 'image-overlay', path: './assets/emoji.png', position: 'top', visibleFrom: 0.7, visibleUntil: 1.3, width: 0.2 },
{ type: 'image-overlay', path: './assets/emoji.png', position: 'bottom', visibleFrom: 0.7, visibleUntil: 1.3, height: 0.2 },
{ type: 'image-overlay', path: './assets/emoji2.svg', position: 'top', visibleFrom: 0.7, visibleUntil: 1.5, width: 0.2 },
{ type: 'image-overlay', path: './assets/emoji2.svg', position: 'bottom', visibleFrom: 0.7, visibleUntil: 1.5, height: 0.2 },
] }, ] },
], ],
} }
Loading…
Cancel
Save