Developer Docs - Roku Docs - Media

The commands below are related to the playback of media within the app.

You cannot play YouTube content in a Roku TV application.

Notes

Both of the media commands below share some common functionality as it relates to working with MediaElements. Here are some things you should know.

To set the resume location from an existing interaction provide the map from the interaction using the rockWatchMap property.

Play Video

Plays the video file using the provided configuration.

Additional configuration options include the following:

Play Audio

Plays the audio file using the provided configuration.