mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fix for error on video not always skipping
This commit is contained in:
@@ -37,8 +37,8 @@ function check_if_error_or_blocked(id, channel, errored, callback) {
|
||||
} else if(!resp.items[0].status.embeddable) {
|
||||
callback(true);
|
||||
return;
|
||||
} else if(resp.items[0].contentDetails.hasOwnProperty("licensedContent") &&
|
||||
!resp.items[0].contentDetails.licensedContent) {
|
||||
} else if(resp.items[0].contentDetails.hasOwnProperty("licensedContent") &&
|
||||
resp.items[0].contentDetails.licensedContent) {
|
||||
callback(true);
|
||||
return;
|
||||
} else if(resp.items[0].contentDetails.hasOwnProperty("regionRestriction") &&
|
||||
|
||||
Reference in New Issue
Block a user