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,7 +1,6 @@
import { Video } from '../../page/basics/video/video';
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
import platformMp4 from '../media/mp4/platform.mp4';
import platformPosterJpeg from '../media/platform.png?format=jpg';
import platformPosterWebP from '../media/platform.png?format=webp';
import platformWebM from '../media/webm/platform.webm';
@ -10,7 +9,6 @@ export const platformGameTimelineElement: TimelineElementParameters = {
date: `2017 autumn`,
figure: new Video({
posterWebP: platformPosterWebP,
posterJpeg: platformPosterJpeg,
mp4: platformMp4,
webm: platformWebM,
}),