Skip to content

Commit

Permalink
add chapters to vod player
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBrax committed Nov 6, 2023
1 parent debd6fc commit 9cfbfdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client-vue/src/components/VodItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,8 @@ function openPlayer(): void {
hash += `&chatfile=${props.vod.webpath}/${props.vod.basename}_chat.json`;
}
hash += `&chapters=${props.vod.chapters?.map((c) => `${c.offset}:${c.title.replaceAll(":", "").replaceAll(";", "")}`).join(";")}`;
// url.searchParams.set("offset", this.playerSettings.offset.toString());
// window.open(url.toString(), "_blank");
router.push({ name: "VODPlayer", hash });
Expand Down

0 comments on commit 9cfbfdd

Please sign in to comment.