How To Play and pause video in jQuery

Unknown | 12:16 PM
 
After clicking on close button this jquery will work

 $( "#closethis" ).click(function (){

// You can use play and pause to stop and play the video 
 
        $("video").trigger("pause");   

// used for fadeout video section slowly

        $( ".video_section" ).fadeOut(1000);
});

No comments:

Post a Comment

Avinash Kumar Singh © 2013. All Rights Reserved | Powered by-Blogger