You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set `hideOnDisconnect` to true, the entire component will hide itself when there is no connection to the API endpoint. Otherwise it will display an error state (an retry the connection of course).
72
+
### Props
73
+
74
+
-`hideOnDisconnect`: When `true`, the entire component will hide itself when there is no connection to the API endpoint. Otherwise it will display an error state.
75
+
-`websocketUrl`: Full URL to the WebSocket endpoint of the `go-librespot` client.
76
+
-`apiBaseUrl`: Full URL to the HTTP API endpoint of the `go-librespot` client.
77
+
-`kioskMode`: When `true`, the component will fill the entire screen. Otherwise it will fill the available width and base the layout on the width only. It is recommended to leave this option `false` when importing the module into an existing webpage and to `true` when you are running the player standalone on a touch screen.
78
+
-`layout`: Can be `auto`, `default`, `widescreen`, `portrait`. See the screenshots for how the layouts look like.
73
79
74
80
# Screen shots
75
81
The player arranges itself based on the screen dimensions, with three possible layouts:
0 commit comments