Article From:https://segmentfault.com/q/1010000011711678
Question:

For example, there is a video, I want it to play after the completion of the pop-up dialog box, content 123, how to achieve it?

Answer 0:

endedEvent
It’s better to read the document Media Events than to talk nonsense.

Answer 1:
$("#video").get(0).addEventListener("ended",function(){
    alert(123);
},false);

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *