Using the play command to start media through command blocks

Play Media

The play command is used to start Media for a client or to schedule it to play. It follows the syntax of:

/openaudio play <selector> <source> [media options]

Selector and source are the two required arguments, media options is optional and can be left out. The usage of the media options and sources can be in the media documentation section .
An example command for starting a simple sound for the player Mindgamesnl with the ID baron_onride:

/openaudio play @a {id:"chill_station"}