- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to specify that the audio/video will start over again, every time it is finished in HTML?
Use the loop attribute to specify that the audio/ video will start over again. You can try to run the following code to implement loop attribute −
Example
<!DOCTYPE HTML> <html> <body> <video width = "300" height = "200" controls loop> <source src = "/html5/foo.ogg" type = "video/ogg" /> <source src = "/html5/foo.mp4" type = "video/mp4" /> Your browser does not support the video element. </video> </body> </html>
- Related Articles
- How do we specify that the audio/video will start playing as soon as it is ready in HTML?
- How to include the audio/video controls in HTML?
- How to specify if and how the author thinks the audio/video should be loaded when the page loads in HTML?
- Execute a script each time the volume of a video/audio is changed in HTML?
- How to set the audio output of the video to mute in HTML?
- HTML 5 video or audio playlist
- How to specify that the element is read-only in HTML?
- How to play audio and video file in iOS?
- How to specify that the target will be downloaded when a user clicks on the hyperlink in HTML?
- How to specify that an element is not yet relevant in HTML?
- How to specify that the details should be visible to the user in HTML?
- 7 audio cassettes and 3 video cassettes cost ₹ 1110, while 5 audio cassettes and 4 video cassettes cost ₹ 1350. Find the cost of an audio cassette and a video cassette.
- How to specify citation in HTML?
- How to specify that the form should not be validated when disabled in HTML?
- How to Create a Video and Audio Recorder with JavaScript MediaRecorder API?

Advertisements