Helloi want to put a play/pause button on a html5 video tag. Any suggestions?
I was following you along till I read the word "tag" in your question. In the past I used https://www.google.com/search?client=opera&q=play%2Fpause+button+on+a+html5+video for examples. But why you put tag in your question eludes me.
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.
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.
We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.