1.

In HTML Audio/Video DOM __________ sets or returns whether the audio/video should start playing as soon as it is loaded.(a) controls(b) audio Tracks(c) autoplay(d) currentSrcThis question was addressed to me by my school teacher while I was bunking the class.Query is from HTML5 Audio in section HTML Markup, Forms, Video, Audio & Other Multimedia of HTML

Answer»

Correct answer is (c) autoplay

For explanation I would say: Control attribute is USED to SET whether AUDIO/video should DISPLAY controls. AudioTrack list representing audio tracks is set by audio track. The autoplay attribute is a BOOLEAN attribute. When present, the audio will automatically start playing as soon as it can do so without stopping. A current src of audio/video is returned by currentSrc.



Discussion

No Comment Found

Related InterviewSolutions