chromecastgoogle-castgoogle-cast-sdk

Set supported media commands for Google Cast Styled Media Receiver


When using the Styled Media Receiver with a queue, is it possible to add QUEUE_NEXT and QUEUE_PREV to the supported media commands? If so, how?


Solution

  • You can only customize via CSS. For the supported media commands you would need a custom receiver. By default the supported commands would be:

    ALL_BASIC_MEDIA

    https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.messages#.ALL_BASIC_MEDIA

    All basic media. Includes the mandatory commands and PAUSE, SEEK, STREAM_VOLUME, STREAM_MUTE. EDIT_TRACKS, PLAYBACK_RATE