MediaController source

Controls an audio/video media player.

Specializes Montage

Properties

autoplay :number source

Default Value:
  • {boolean} true

currentTime :Function source

Default Value:
  • {number} 0

duration :Function source

Default Value:
  • null

EMPTY :number source

Default Value:
  • {number} 3

mediaController :Function source

Default Value:
  • null

mute :Function source

PAUSED :number source

Default Value:
  • {number} 2

playbackRate :Function source

Default Value:
  • {number} 1

PLAYING :number source

Default Value:
  • {number} 1

position :Function source

Default Value:
  • null

status :Function source

Default Value:
  • {number} 3

STOPPED :number source

Default Value:
  • {number} 0

volume :Function source

Methods

callDelegateMethod(name) source

This method calls the method named with the identifier prefix if it exists. Example: If the name parameter is "shouldDoSomething" and the caller's identifier is "bob", then this method will try and call "bobShouldDoSomething"

Parameters:
Name Type Description
name string
Inherited From:

equals(anObject) → {boolean} source

Returns true if two objects are equal, otherwise returns false.

Parameters:
Name Type Description
anObject Object

The object to compare for equality.

Inherited From:
Returns: boolean

Returns true if the calling object and anObject are identical and their uuid properties are also equal. Otherwise, returns false.

fastForward() source

handleAbort() source

handleEmptied() source

handleEnded() source

handleError(event) source

Parameters:
Name Type Description
event Event

TODO

handleLoadedmetadata() source

Returns:

itself

handlePause() source

handlePlay() source

handlePlaying() source

handleTimeupdate() source

pause() source

play() source

playPause() → {boolean} source

Returns: boolean

!playing (true if it is now playing)

rewind() source

stop() source

toggleMute() source

unpause() source

volumeDecrease() source

volumeIncrease() source

Generated from a4679af

comments powered by Disqus

More help?

Can't find what you are looking for? Get in touch, we're more than happy in helping answer your questions.