Fix missing video player poster (#686)

This commit is contained in:
WithoutPants
2020-07-24 10:45:48 +10:00
committed by GitHub
parent 116f61b6bf
commit c327a98ecb

View File

@@ -174,14 +174,17 @@ export class ScenePlayerImpl extends React.Component<
} }
private makePlaylist() { private makePlaylist() {
const { scene } = this.props;
return { return {
image: scene.paths.screenshot,
tracks: [ tracks: [
{ {
file: this.props.scene.paths.vtt, file: scene.paths.vtt,
kind: "thumbnails", kind: "thumbnails",
}, },
{ {
file: this.props.scene.paths.chapters_vtt, file: scene.paths.chapters_vtt,
kind: "chapters", kind: "chapters",
}, },
], ],