I am working on project that involves 1000 of YouTube url.i am doing it by sqldb by adding 11 digit ID of video .But in future if user deletes video from YouTube chenal ,how to put notification that video has been removed by user.is there anyway to check url?because if user deletes video I will not be able to get thumbnail in my app only play button will show(this is also applied if user makes video private)
I have uploaded one image as example for better understanding
Then set like this, if the user retrieve data from your database first it will show thumpnail. At this point, make if else then statement.
If thumpnail gets empty after retrieving the data alert them via notifier or any label stating that, Video has been removed by the author or it is private data.
you are retrieving the thumbnail of the youtube from the firebase, if the video is deleted or converted into private mean you wont get thumbnail instead it will return empty
I am getting it from my SQL database .I am getting empty instead of thumbnail.but is there any block to state if thumbnail empty then show notification?
I can’t see any block that decide that I will not get thumbnail…we can only see it that we r not getting thumbnail.or not any block that states if thumbnail not found get notification.