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() {
const { scene } = this.props;
return {
image: scene.paths.screenshot,
tracks: [
{
file: this.props.scene.paths.vtt,
file: scene.paths.vtt,
kind: "thumbnails",
},
{
file: this.props.scene.paths.chapters_vtt,
file: scene.paths.chapters_vtt,
kind: "chapters",
},
],