Include the above mentioned library along with jQuery in your page. Now suppose each of the media elements on your page have a class "media" applied to them. Now the following code will publish an event on click of any of these items..
$(".media").click(function() {
jQuery.pubsub.publish('media.clicked', {});
});
and the following code will be required to subscribe to this event published above and stop the previous media from playing.
jQuery.pubsub.subscribe('media.clicked', function(topic, msg){
$.stratus.stop();
});