MediaProps
Properties
autoplay?
optional
autoplay:boolean
For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-media-autoplay.
controls?
optional
controls:boolean
For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-media-controls.
currentTime?
optional
currentTime:number
For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-media-currenttime.
defaultSeekIntervalInSec?
optional
defaultSeekIntervalInSec:number
Configure the default seek interval in second for remote control media key press "fast-forward" or "rewind" functionality
mediaControlFocus?
optional
mediaControlFocus:IComponentInstance
configure the App client componentinstance to enable Kepler MediaControl functionality by w3cmedia internally. https://developer.amazon.com/docs/kepler-tv/media-controls-guide.html
onAbort?
optional
onAbort:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-abort.
onAudioFocusGranted?
optional
onAudioFocusGranted:EventListener
This is a custom callback event sent to the client when MediaPlayer resumes the playback internally on obtaining the audio focus.
onAudioFocusLost?
optional
onAudioFocusLost:EventListener
This is a custom callback event sent to the client when MediaPlayer pauses the playback internally on loosing the audio focus permanantly. On receiving this callback event, App shall stop the playback.
onAudioFocusPaused?
optional
onAudioFocusPaused:EventListener
This is a custom callback event sent to the client when MediaPlayer pauses the playback internally on loosing the audio focus temporarily.
onComponentDidMount?
optional
onComponentDidMount:Function
The Video or Audio component is loaded. Now you can use it.
onComponentUnMounted?
optional
onComponentUnMounted:Function
The Video or Audio component is unloaded. Now you can't use it.
onDurationChange?
optional
onDurationChange:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-durationchange.
onEncrypted?
optional
onEncrypted:EventListener
For additional information, see https://www.w3.org/TR/encrypted-media/#dom-evt-encrypted.
onEnded?
optional
onEnded:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-ended.
onError?
optional
onError:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-error.
onPause?
optional
onPause:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-pause.
onPlay?
optional
onPlay:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-play.
onPlaying?
optional
onPlaying:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-playing.
onResize?
optional
onResize:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-resize.
onSeeked?
optional
onSeeked:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-seeked.
onSeeking?
optional
onSeeking:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-seeking.
onTimeUpdate?
optional
onTimeUpdate:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-timeupdate.
onWaiting?
optional
onWaiting:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-waiting.
onWaitingForKey?
optional
onWaitingForKey:EventListener
For additional information, see https://www.w3.org/TR/encrypted-media/#dom-evt-waitingforkey.
overrideMediaControlHandler?
optional
overrideMediaControlHandler:IMediaControlHandlerAsync
App client wish to override Media Controls handling by creating the OverrideMediaController handler. App client pass the OverrideMediaControl Object to W3cMedia in case of override functionality. Kepler MediaControl functionality by default. https://developer.amazon.com/docs/kepler-tv/media-controls-guide.html If not configured, w3cmedia would handle Media Controls besides mediaControlFocus is set.
src?
optional
src:string
For additional information, see https://html.spec.whatwg.org/multipage/media.html#location-of-the-media-resource
Last updated: Sep 30, 2025