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

Recommended Answers

All 4 Replies

Oh man i think you got the point. You are like a hero to me. https://www.w3schools.com/TAGS/default.ASP Anyway i don't think this -post? thread? inlisting? topic? Whatever word suits you - is about the meaning of tag.

Semantics!!

It's an HTML5 video element. The element is represented by an HTML tag.

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.