@amazon-devices/kepler-media-controls
Getting started
Setup
- Add the following library dependency to the
dependencies
section of your package.json file.
json
"@amazon-devices/kepler-media-controls": "~1.0.0",
"@amazon-devices/kepler-media-types": "~1.0.0"
</div>
-
Add following components and privileges in your manifest.toml.
[package] title = "<Your app title>" id = "com.amazondeveloper.media.sample" [components] [[components.interactive]] id = "com.amazondeveloper.media.sample.main" launch-type = "singleton" # The category "com.amazon.category.kepler.media" is only necessary for the primary component, which is identified in the extras # section of the manifest using the "interface.provider" key. categories = ["com.amazon.category.kepler.media"] runtime-module = "/com.amazon.kepler.keplerscript.runtime.loader_2@IKeplerScript_2_0" [[extras]] key = "interface.provider" component-id = "com.amazondeveloper.media.sample.main" [extras.value.application] [[extras.value.application.interface]] interface_name = "com.amazon.kepler.media.IMediaPlaybackServer" command_options = [ "StartOver", "Previous", "Next", "SkipForward", "SkipBackward", <insert other commands supported> ] attribute_options = ["AudioAdvanceMuted", <insert any other attribute options supported>] features = ["AdvancedSeek", "VariableSpeed", "AudioTracks", "TextTracks", <insert other features supported>]
Related topics
Modules
Last updated: Sep 30, 2025