Script when user close rewarded video ads before it end | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Script when user close rewarded video ads before it end

Anyone here can guide me how to write code for this situation? User click button to watch rewarded video ads. Then they press back button and close ads before the ads end. I want to send the user to the previous scene if ads closed before it end. I hope anyone here can help me.

26th Nov 2018, 3:43 AM
Adib Zaini
Adib Zaini - avatar
1 Answer
+ 2
You can use video events to check if the user had done something with video. This reference will help you to get an idea. https://www.w3schools.com/tags/ref_av_dom.asp
4th Dec 2018, 1:31 PM
Seniru
Seniru - avatar