I have a page with multiple videos using a HTML5 video player. I would like to stop any video currently playing when:
1) a user clicks a link (link id = "close")
2) another video on the page is clicked
How can I accomplish this with JS?