SyntaxFix
Write A Post
Hire A Developer
Questions
must separate this code to work well, or it well pause and play in one click !
$('video').click(function(){this.played ? this.pause() ;}); $('video').click(function(){this.paused ? this.play() ;});