Copy link to clipboard
Copied
What's wrong with my code?
var videoURL = "https://images-tv.adobe.com/avp/vr/15a99ccf-0e7c-4601-b270-87dd82624086/5078a43c-81f9-4a93-836c-8152...";
this.video.on("added", function() {
$("#video")[0].src = videoURL;
}, this, true);
this.video.on('ended', function() {
console.log("ended");
});
The ended doesn't work
You're adding the event listener to the component, not the actual video element.
Copy link to clipboard
Copied
You're adding the event listener to the component, not the actual video element.
Copy link to clipboard
Copied
Thanks!