MediaProps
Properties
autoplay?
optionalautoplay:boolean
For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-media-autoplay.
controls?
optionalcontrols:boolean
For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-media-controls.
currentTime?
optionalcurrentTime:number
For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-media-currenttime.
defaultSeekIntervalInSec?
optionaldefaultSeekIntervalInSec:number
Configure the default seek interval in second for remote control media key press "fast-forward" or "rewind" functionality
mediaControlFocus?
optionalmediaControlFocus: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?
optionalonAbort:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-abort.
onAudioFocusGranted?
optionalonAudioFocusGranted:EventListener
This is a custom callback event sent to the client when MediaPlayer resumes the playback internally on obtaining the audio focus.
onAudioFocusLost?
optionalonAudioFocusLost: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?
optionalonAudioFocusPaused:EventListener
This is a custom callback event sent to the client when MediaPlayer pauses the playback internally on loosing the audio focus temporarily.
onComponentDidMount?
optionalonComponentDidMount:Function
The Video or Audio component is loaded. Now you can use it.
onComponentUnMounted?
optionalonComponentUnMounted:Function
The Video or Audio component is unloaded. Now you can't use it.
onDurationChange?
optionalonDurationChange:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-durationchange.
onEncrypted?
optionalonEncrypted:EventListener
For additional information, see https://www.w3.org/TR/encrypted-media/#dom-evt-encrypted.
onEnded?
optionalonEnded:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-ended.
onError?
optionalonError:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-error.
onPause?
optionalonPause:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-pause.
onPlay?
optionalonPlay:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-play.
onPlaying?
optionalonPlaying:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-playing.
onResize?
optionalonResize:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-resize.
onSeeked?
optionalonSeeked:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-seeked.
onSeeking?
optionalonSeeking:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-seeking.
onTimeUpdate?
optionalonTimeUpdate:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-timeupdate.
onWaiting?
optionalonWaiting:EventListener
For additional information, see https://html.spec.whatwg.org/multipage/media.html#event-media-waiting.
onWaitingForKey?
optionalonWaitingForKey:EventListener
For additional information, see https://www.w3.org/TR/encrypted-media/#dom-evt-waitingforkey.
overrideMediaControlHandler?
optionaloverrideMediaControlHandler: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?
optionalsrc:string
For additional information, see https://html.spec.whatwg.org/multipage/media.html#location-of-the-media-resource
Last updated: Oct 02, 2025

