1.

In HTML Audio/Video DOM, __________ sets or returns the CORS settings of the audio/video.(a) currentTime(b) duration(c) defaultPlaybackRate(d) crossOriginThe question was posed to me in an interview for internship.This interesting question is from HTML5 Video topic in section HTML Markup, Forms, Video, Audio & Other Multimedia of HTML

Answer»

Right choice is (d) CROSSORIGIN

For explanation I would say: CurrentTime set or returns CURRENT playback position while playing audio/video. The length of the current audio/video is set or returned by duration. Default speed of playback is given by defaultPlaybackRate. The purpose of the crossorigin attribute is to allow you to configure the CORS requests for the ELEMENT’s fetched data.



Discussion

No Comment Found

Related InterviewSolutions