diff --git a/src/renderer/views/Watch/Watch.js b/src/renderer/views/Watch/Watch.js index e6aba8ec56d61..3935550bf9a2b 100644 --- a/src/renderer/views/Watch/Watch.js +++ b/src/renderer/views/Watch/Watch.js @@ -507,7 +507,9 @@ export default defineComponent({ let chapters = [] if (!this.hideChapters) { - const rawChapters = result.player_overlays?.decorated_player_bar?.player_bar?.markers_map?.get({ marker_key: 'DESCRIPTION_CHAPTERS' })?.value.chapters + const rawChapters = result.player_overlays?.decorated_player_bar?.player_bar?.markers_map + ?.find(marker => marker.marker_key === 'DESCRIPTION_CHAPTERS')?.value.chapters + if (rawChapters) { for (const chapter of rawChapters) { const start = chapter.time_range_start_millis / 1000