HTML Media


  1. Which of the following tag is used for audio in HTML5?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    <video> tag is used for video clips in HTML5. <canvas> is for graphical user interface. The audio tag defines sound, such as music or other audio streams.


  1. Which tag is used to defines multiple media resources for media elements audio and video?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    <video> tag is used for video clips in HTML5. <canvas> is for graphical user interface. The audio tag defines sound, such as music or other audio streams.defines multiple media resources for media elements, such as <video> and <audio>.



  1. Which of the following browser does not support wav file format?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Opera, firefox, chrome and internet explorer are different kinds of browsers. Out of which audio file format named wav is not supported by internet explorer.


  1. In HTML Audio/Video DOM __________ returns a TextTrackList object representing the available text tracks.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The current ready state of video/audio is set by readyState. StartDate sets current date representing current time offsets. VideoTrack returns video track list representing available video tracks. The textTracks property returns a TextTrackList object. The TextTrackList object represents the available text tracks for the audio/video. Each available text track is represented by an TextTrack Object.



  1. In HTML Audio/Video DOM __________ returns a MediaError object representing the error state of the audio/video.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Seeking returns whether user is currently seeking video/audio. Ended attribute fires up when current playing playlist is finished. The error property returns a MediaError object. The MediaError object has a code property containing the error state of the audio/video. The group to which audio/video belongs is returned by mediaGroup.