diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index 83784922..a36e1b52 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -187,7 +187,7 @@ function linkify(text) { core.video(v).then((data) => { try { - const k = data.video; + const k = data?.video; const json = data.json; const engagement = data.engagement; const inv_comments = data.comments || "Disabled";