Explanation
In HTML Audio/Video elements, the autoplay attribute sets or returns whether the audio or video should start playing as soon as it is loaded. When the autoplay attribute is present, it means that the media will automatically start playing when the page loads.