mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Licensed/copyright
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							d7d1416c9c
						
					
				
				
					commit
					684c49c7c6
				
			| @@ -37,6 +37,10 @@ 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) { | ||||
|                         callback(true); | ||||
|                         return; | ||||
|                     } else if(resp.items[0].contentDetails.hasOwnProperty("regionRestriction") && | ||||
|                         resp.items[0].contentDetails.regionRestriction.hasOwnProperty("blocked") && | ||||
|                         resp.items[0].contentDetails.regionRestriction.blocked.length > 0) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user