Struct xpcom::interfaces::nsIDOMHTMLMediaElement [] [src]

#[repr(C)]
pub struct nsIDOMHTMLMediaElement { /* fields omitted */ }

interface nsIDOMHTMLMediaElement : nsISupports

Methods

impl nsIDOMHTMLMediaElement
[src]

[src]

Cast this nsIDOMHTMLMediaElement to one of its base interfaces.

impl nsIDOMHTMLMediaElement
[src]

NETWORK_EMPTY: i64 = 0

NETWORK_IDLE: i64 = 1

NETWORK_LOADING: i64 = 2

NETWORK_NO_SOURCE: i64 = 3

HAVE_NOTHING: i64 = 0

HAVE_METADATA: i64 = 1

HAVE_CURRENT_DATA: i64 = 2

HAVE_FUTURE_DATA: i64 = 3

HAVE_ENOUGH_DATA: i64 = 4

[src]

attribute DOMString src;

[src]

attribute DOMString src;

[src]

readonly attribute DOMString currentSrc;

[src]

readonly attribute unsigned short networkState;

[src]

attribute DOMString preload;

[src]

attribute DOMString preload;

[src]

readonly attribute nsIDOMTimeRanges buffered;

[src]

void load ();

[src]

DOMString canPlayType (in DOMString type);

[src]

readonly attribute unsigned short readyState;

[src]

readonly attribute boolean seeking;

[src]

attribute double currentTime;

[src]

attribute double currentTime;

[src]

readonly attribute double duration;

[src]

readonly attribute boolean paused;

[src]

attribute double defaultPlaybackRate;

[src]

attribute double defaultPlaybackRate;

[src]

attribute double playbackRate;

[src]

attribute double playbackRate;

[src]

attribute boolean mozPreservesPitch;

[src]

attribute boolean mozPreservesPitch;

[src]

readonly attribute nsIDOMTimeRanges played;

[src]

readonly attribute nsIDOMTimeRanges seekable;

[src]

readonly attribute boolean ended;

[src]

attribute boolean autoplay;

[src]

attribute boolean autoplay;

[src]

attribute boolean loop;

[src]

attribute boolean loop;

[src]

void pause ();

[src]

attribute boolean controls;

[src]

attribute boolean controls;

[src]

attribute double volume;

[src]

attribute double volume;

[src]

attribute boolean muted;

[src]

attribute boolean muted;

[src]

attribute boolean defaultMuted;

[src]

attribute boolean defaultMuted;

[src]

readonly attribute boolean mozAudioCaptured;

[src]

readonly attribute double mozFragmentEnd;

[src]

[notxpcom] boolean isVideo ();

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIDOMHTMLMediaElement
[src]

IID: nsIID = nsID(3225540460, 5582, 18349, [182, 29, 232, 117, 90, 109, 182, 56])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIDOMHTMLMediaElement
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDOMHTMLMediaElement
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.