HTML Media


  1. In HTML Audio/Video DOM __________ sets or returns whether the audio/video should start playing as soon as it is loaded.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    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.


  1. In HTML Audio/Video DOM __________ sets or returns whether the audio/video should start over again when finished.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The loop attribute is a boolean attribute. When present, it specifies that the audio will start over again, every time it is finished. With autoplay, it ensures whether video/audio should play immediately after loading page. Seeking returns whether user is currently seeking video/audio. Timeranges representing played parts of audio/video is set by played attribute.



  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.


  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. Which of the following MP3 player has not been written in Flash?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    There are several MP3 players that have been written in Flash like flash-mp3-player.net, www.wimpyplayer.com, musicplayer.sourceforge.net. Every player has different functionality. So you should be aware of that. Soundcloud.com and MySpace.com are different sites which provide a player that one can embed in the page.