HTML5 Video and HTML5 Audio - MCQs

HTML5 Video and HTML5 Audio - MCQs


1) HTML5 features, include native audio and video support without the need for.

A) Flash
B) Canvas
C) Svg
D) None of the above
View Answer / Hide Answer

ANSWER: A) Flash




2) The current HTML5 draft specification does not specify which video formats browsers should support in the video tag. But most commonly used video formats are.

A) ogg
B) mpeg4
C) Both A & B
D) None of the above
View Answer / Hide Answer

ANSWER: C) Both A & B




3) Which attribute specifies that the video will be loaded at page load, and ready to run. Ignored if autoplay is present.

A) loop
B) src
C) preload
D) poster
View Answer / Hide Answer

ANSWER: C) preload




4) Which boolean attribute if specified, will allow video automatically seek back to the start after reaching at the end.

A) autoplay
B) autobuffer
C) loop
D) controls
View Answer / Hide Answer

ANSWER: C) loop




5) In handling media events which event is generated when the first frame of the media has finished loading.

A) loadstart
B) loadeddata
C) ended
D) error
View Answer / Hide Answer

ANSWER: B) loadeddata




6) Which event is generated when a seek operation completes.

A) Seeking
B) Seeked
C) suspend
D) waiting
View Answer / Hide Answer

ANSWER: B) Seeked




7) Which boolean attribute if specified, the audio will automatically begin to play back as soon as it can do so without stopping to finish loading the data.

A) autobuffer
B) loop
C) autoplay
D) preload
View Answer / Hide Answer

ANSWER: C) autoplay




8) If this attribute is present, it will allow the user to control audio playback, including volume, seeking, and pause/resume playback.

A) src
B) controls
C) preload
D) autoplay
View Answer / Hide Answer

ANSWER: B) controls




9) Waiting event is generated when the requested operation (such as playback) is delayed pending the completion of another operation (such as a seek).

A) Yes
B) No
View Answer / Hide Answer

ANSWER: A) Yes



Post your comment