HTMLMediaElement

Module:
html
Inherits from:
Declared In:

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

canPlayType
load
pause
play

canPlayType


DOMString canPlayType(
    in DOMString type); 


load


void load() raises (DOMException); 


pause


void pause(); 


play


void play(); 

Member Data

autobuffer
autoplay
buffered
controls
currentSrc
currentTime
defaultPlaybackRate
duration
ended
error
HAVE_CURRENT_DATA
HAVE_ENOUGH_DATA
HAVE_FUTURE_DATA
HAVE_METADATA
HAVE_NOTHING
loop
muted
NETWORK_EMPTY
NETWORK_IDLE
NETWORK_LOADED
NETWORK_LOADING
NETWORK_NO_SOURCE
networkState
paused
playbackRate
played
readyState
seekable
seeking
src
startTime
volume

autobuffer


attribute boolean autobuffer; 


autoplay


attribute boolean autoplay; 


buffered


readonly attribute TimeRanges buffered; 


controls


attribute boolean controls; 


currentSrc


readonly attribute DOMString currentSrc; 


currentTime


attribute float currentTime setter raises (DOMException); 


defaultPlaybackRate


attribute float defaultPlaybackRate; 


duration


readonly attribute float duration; 


ended


readonly attribute boolean ended; 


error


readonly attribute MediaError error; 


HAVE_CURRENT_DATA


const unsigned short HAVE_CURRENT_DATA = 2; 


HAVE_ENOUGH_DATA


const unsigned short HAVE_ENOUGH_DATA = 4; 


HAVE_FUTURE_DATA


const unsigned short HAVE_FUTURE_DATA = 3; 


HAVE_METADATA


const unsigned short HAVE_METADATA = 1; 


HAVE_NOTHING


const unsigned short HAVE_NOTHING = 0; 


loop


attribute boolean loop; 


muted


attribute boolean muted; 


NETWORK_EMPTY


const unsigned short NETWORK_EMPTY = 0; 


NETWORK_IDLE


const unsigned short NETWORK_IDLE = 1; 


NETWORK_LOADED


const unsigned short NETWORK_LOADED = 3; 


NETWORK_LOADING


const unsigned short NETWORK_LOADING = 2; 


NETWORK_NO_SOURCE


const unsigned short NETWORK_NO_SOURCE = 4; 


networkState


readonly attribute unsigned short networkState; 


paused


readonly attribute boolean paused; 


playbackRate


attribute float playbackRate; 


played


readonly attribute TimeRanges played; 


readyState


readonly attribute unsigned short readyState; 


seekable


readonly attribute TimeRanges seekable; 


seeking


readonly attribute boolean seeking; 


src


attribute DOMString src; 


startTime


readonly attribute float startTime; 


volume


attribute float volume setter raises (DOMException); 

 

Last Updated: 2009-05-29