diff --git a/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx b/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx index be547e63f..f58c160d6 100644 --- a/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx +++ b/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx @@ -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", }, ],