HTMLMediaElement

@native @JSGlobal @JSType
object HTMLMediaElement extends Object
Companion:
class
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object

Concrete fields

Data is available for the current playback position, but not enough to actually play more than one frame.

Data is available for the current playback position, but not enough to actually play more than one frame.

Enough data is available—and the download rate is high enough—that the media can be played through to the end without interruption.

Enough data is available—and the download rate is high enough—that the media can be played through to the end without interruption.

Data for the current playback position as well as for at least a little bit of time into the future is available (in other words, at least two frames of video, for example).

Data for the current playback position as well as for at least a little bit of time into the future is available (in other words, at least two frames of video, for example).

val HAVE_METADATA: Int

Enough of the media resource has been retrieved that the metadata attributes are initialized.  Seeking will no longer raise an exception.

Enough of the media resource has been retrieved that the metadata attributes are initialized.  Seeking will no longer raise an exception.

val HAVE_NOTHING: Int

No information is available about the media resource.

No information is available about the media resource.

val NETWORK_EMPTY: Int

There is no data yet.  The readyState is also HAVE_NOTHING.

There is no data yet.  The readyState is also HAVE_NOTHING.

val NETWORK_IDLE: Int