1.

In HTML Audio/Video DOM, __________ sets or returns whether the audio/video should be loaded when the page loads.(a) preload(b) autoplay(c) buffered(d) controllerThe question was asked during an internship interview.I want to ask this question from HTML5 Video in portion HTML Markup, Forms, Video, Audio & Other Multimedia of HTML

Answer»

Correct option is (a) preload

The explanation: Autoplay, preload, buffered, controller etc are the different KINDS of attribute of video/audio element. Using autoplay, video/audio automatically begins to play. The preload property allows the author to provide a hint to the browser about what he/she thinks will lead to the BEST user EXPERIENCE. This attribute MAY be ignored in some instances.



Discussion

No Comment Found

Related InterviewSolutions