as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

@amazon-devices/kepler-media-controls

Getting started

Setup

  1. Add the following library dependency to the dependencies section of your package.json file.

Copied to clipboard.

json "@amazon-devices/kepler-media-controls": "~1.0.0", "@amazon-devices/kepler-media-types": "~1.0.0" </div>

  1. Add following components and privileges in your manifest.toml.

    Copied to clipboard.

    [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>]
    

Modules


Last updated: Sep 30, 2025