Answered
function ended on video canvas
What's wrong with my code?
this.video.on("added", function() {
$("#video")[0].src = videoURL;
}, this, true);
this.video.on('ended', function() {
console.log("ended");
});
The ended doesn't work ![]()
What's wrong with my code?
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.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.