diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue index 9eaa9d2a..32956292 100644 --- a/src/components/WatchVideo.vue +++ b/src/components/WatchVideo.vue @@ -457,7 +457,7 @@ export default { }); sponsors?.segments?.forEach(segment => { - const option = skipOptions[segment.category]; + const option = skipOptions?.[segment.category]; segment.autoskip = option === undefined || option === "auto"; });