Helloi want to put a play/pause button on a html5 video tag. Any suggestions?

Google says you can use the onclick handler as so: onclick="this.paused ? this.play() : this.pause();" to toggle between playing/pausing when clicking on the video.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.