I have an HTML 5 video in a div. I then have a custom play button - that works fine. And I have the video\'s visibility set to hidden on load and visible when the play b
Using jQuery:
$('#play-pause').click(function(){ if ( $('#video-over').css('visibility') == 'hidden' ) $('#video-over').css('visibility','visible'); else $('#video-over').css('visibility','hidden'); });