diff --git a/src/libpoketube/libpoketube-core.js b/src/libpoketube/libpoketube-core.js index b8501285..d8fd7765 100644 --- a/src/libpoketube/libpoketube-core.js +++ b/src/libpoketube/libpoketube-core.js @@ -137,7 +137,7 @@ async function video(v) { // Store result in cache cache[v] = { result: { - json: data?.video?.Player, + json: data.video.Player, video, vid, comments,