Skip to content

Player Config Doc Template

Player Description1

No configuration required. This player natively supports System Media Transport Controls (SMTC). Simply start playback to use.(Optional)

⚠️ Disclaimer(Optional)

Show this doc on the sidebar: Navigate to this file, edit it based on the demo below:

export default defineConfig({
  integrations: [
    starlight({
      sidebar: [
        // ...
        {
          label: "Player Config",
          translations: {
            "zh-CN": "播放器配置",
          },
          items: [
            { slug: "player-cfg" },
            // ...
            { slug: "player-cfg/betterlyrics" },
            {
              slug: "player-cfg/foobar2000",
              badge: { text: "Config & Limited", variant: "caution" },
            },
			// ...
            {
              slug: "player-cfg/itunes",
              badge: { text: "Config", variant: "note" },
            },
            {
              slug: "player-cfg/kugoumusic",
              badge: { text: "Limited", variant: "caution" },
            },
            // ...
			{
              slug: "player-cfg/文档名称", // List this item alphabetically within the Player Settings section of the sidebar.
              // badge: Whether to display a badge depends on the actual situation; see the example above.
			},
          ],
        },
      ],
      ...
    }),
  ],
});
  1. Player Description Source