diff --git a/api/src/processing/services/youtube.js b/api/src/processing/services/youtube.js index 46f72a5b..a6cdc9a2 100644 --- a/api/src/processing/services/youtube.js +++ b/api/src/processing/services/youtube.js @@ -170,6 +170,10 @@ export default async function(o) { } } + if (playability.status === "AGE_VERIFICATION_REQUIRED") { + return { error: "content.video.age" } + } + if (playability.status !== "OK") { return { error: "content.video.unavailable" }; }