Changing video on mouseclick?

Posted by user330561 on Stack Overflow See other posts from Stack Overflow or by user330561
Published on 2010-05-01T21:26:13Z Indexed on 2010/05/01 21:57 UTC
Read the original article Hit count: 117

I have two videos, and I want to loop the first video until the user clicks the mouse, at which point I want to switch to playing the second video. Does anyone know what the best way to do this would be?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html5