How can I get a handle on a Video and determine if it has ended


For instance if I wanted to determine if this video had ended and alert “ENDED!” when the video ends, how can I go about doing that?


You can use onPlaybackStatusUpdate



I found the example confusing but have found this stackoverflow question that helped a lot