Spotify Playlist
Spotify is part of the Audio Component Set. It embeds a Spotify song, playlist, or podcast in any app. The chosen audio will play directly in the app when an app end-user taps on the play button.
Add Spotify to a Page
- 1
- Create or open an existing app.
- 2
- Click the Edit Pencil on a Page.
- 3
- Click the Green + Icon, located in the bottom right corner.
- 4
- Either scroll to Spotify Playlist in the list or begin typing Spotify Playlist to search the list.
- 5
- Select the Spotify Playlist. The Spotify Component will appear at the bottom of the Content list in the left-hand column. The Spotify Properties will appear in the right-hand column.
Spotify Properties
The Spotify component has the following properties:
- Component Id - Sets the name of the Spotify component in the app. The Component Id can be referenced using JavaScript to add more functionality to the app as needed.
Pro Tip: It is a best practice to use only letters without spaces for the Component Id. Symbols, spaces, and numbers are not recommended. - Spotify URL - Enter Spotify's embed URL as it appears in the Embed Code.
- Click the three dots under the title, then click Share. Choose Copy Embed URL Code, return to the Studio and paste the code.
- Component Height (px) - Enter the desired Component Height in pixels. The minimum height property is 150 and the maximum is 3,000 pixels. To showcase longer playlists enter a larger number. Watch the video for more tips and help on using the Spotify Component.
- Column Start - Sets the column where the Component will start.
- Column Span - Sets how many columns the Component will span.
- Padding - Sets how much space will appear on the top, bottom, left, and right of the Component. When building a Page with multiple Components, the Padding will determine the overall spacing between Components.
- Display Mode - Sets how the Component is displayed. If Both is selected, the Component will always show. Both is the default option. If Optimal is selected, the Component will only show if the browser supports the app. The main supported browsers are Chrome and Safari. If Degraded is selected, the Component will only show if the browser does not support the app. The main unsupported browser is Internet Explorer.
Spotify Placement Settings
The Placement Settings for the Component sets which column(s) the Component will appear. Each Page of the app can have a different number of columns that are set in the Layout section of the Page Settings. The following Placement settings are available for this Component: