@avikcharimusic
I solved it in a totaly another way, but you can try this one…
$w.onReady(()=>{
$w('Video').onViewportEnter((event)=> {console.log(event.target)});
$w('Video').onViewportLeave((event)=> {console.log(event.target)});
});
Take a look onto console.
Try also…
$w('Video').onViewportLeave((event)=> {console.log(event.target.id)});