Pause/play video on clicking a layer

If you have one  video layer on your slide, then you could put down a layer next to it, like an image or icon layer, and write this code into it's clicking event:

var video = jQuery(this).parents('.n2-ss-slide').find('video').get(0);
if(video.paused){
	video.play();
} else {
	video.pause();
}

This code will identify the video, which is on the same slide, where your layer is, and if the video is paused, it will start to play it, and if it's already playing, it will pause it.

You could also write codes, like start playing the video, when the layer is clicked, and make the layer disappear:

var playbutton = jQuery(this);
var video = playbutton.parents('.n2-ss-slide').find('video').get(0);
playbutton.hide(0);
video.play();