Tested the code and everything works just fine.
$w.onReady(function() {console.log("Page is ready!");
$w("#videoPlayer1").onEnded((event) => {
let targetID = event.target.id; // "myVideoPlayer"
console.log("Playtime of "+targetID+"has been ended!")
});
});
- You are using a simple single-video-player ?
- You have changed the ID of your Video-Element in inside your code?
CONSOLE-LOG-RESULT: (after video-playtime ended)…
Fix:
console.log("Playtime of "+targetID+" has been ended!")

