Skip to content

Commit 606ab42

Browse files
committed
begins resolution selectable
1 parent e1ebb51 commit 606ab42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/components/Videoplayer.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ async function getDetails() {
3737
const subtitleData = await subtitleReq.json();
3838
3939
let subtitlePath = subtitleData.files;
40-
subtitlePath = subtitlePath.filter((subtitles: string) => {
40+
subtitlePath = String(subtitlePath.filter((subtitles: string) => {
4141
return subtitles.endsWith('.vtt');
42-
})
42+
}));
4343
4444
title.value = videoData.title;
4545
description.value = videoData.description;

0 commit comments

Comments
 (0)