为 Google Cast Styled Media Receiver 设置支持的媒体命令

Set supported media commands for Google Cast Styled Media Receiver

什么时候使用Styled Media Receiver with a queue, is it possible to add QUEUE_NEXT and QUEUE_PREV to the supported media commands?如果可以,怎么做?

您只能通过 CSS 进行自定义。对于支持的媒体命令,您需要一个自定义接收器。默认情况下,支持的命令是:

ALL_BASIC_MEDIA

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

所有基本媒体。包括强制命令和 PAUSE、SEEK、STREAM_VOLUME、STREAM_MUTE。 EDIT_TRACKS、PLAYBACK_RATE