Improve build process and remove WebP support

This commit is contained in:
Andras Schmelczer 2022-09-21 23:18:03 +02:00
parent 3649a033b0
commit 4f47bb639a
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
21 changed files with 31 additions and 102 deletions

View file

@ -1,6 +1,5 @@
import { Video } from '../../page/basics/video/video';
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
import forexPosterJpeg from '../media/forex.jpg?format=jpg';
import forexPosterWebP from '../media/forex.jpg?format=webp';
import forexMp4 from '../media/mp4/forex.mp4';
import forexWebM from '../media/webm/forex.webm';
@ -10,7 +9,6 @@ export const forexTimelineElement: TimelineElementParameters = {
date: `2019 autumn`,
figure: new Video({
posterWebP: forexPosterWebP,
posterJpeg: forexPosterJpeg,
mp4: forexMp4,
webm: forexWebM,
invertButton: true,