is thier to shorten a jquery code espcially when using show and hide functions?
===

im trying to find jquery functions that might make this jquery code shorter, i tried looking at toggle, but i couldnt see how it could work, im just trying to learn jquery best practices at the momment. thank you

            $(".play").click(function (e) {
    	        e.preventDefault();
    	        video.ref.playVideo();
    	        $(".play").hide();
    	        $(".pause").show();
    		});
    		
    		$(".pause").click(function (e) {
    			e.preventDefault();
    	        video.ref.pauseVideo();
    	        $.(".pause").hide();
    	        $(".play").show();
    		});