Can someone help how to add custom video to load?

Hello,

Inside our app we have a game called “Watch Video” When a user watch a video, he/she earns virtual points. However not every user have available videos, and we would like to add the option:

**If there is no available video from the ad network, a custom video to load from YouTube directly in the app instead. **
I am sending image of the blocks

If someone can help us how to make would be great

@MakeMoneyOnline Sorry for the late reply Do you want to show ad when the video ad is not available by ad network?

Yes, exactly

In ads fail to show use :-
Unvisible main layout and create a layout and make it visible
Use this extension :-

And video path :-
https://maadhav-ytdl.herokuapp.com/video_info.php?url=(yourvideoid)