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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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",
},
],