---
updatedAt: 2026-09-10T09:14:36.000Z
agentTools:
  siteIndex: https://docs.jwplayer.com/llms.txt
  projectIndex: https://docs.jwplayer.com/players/llms.txt
---

# ANDROID: JWP-hosted Single-item Playlist

```java Java
PlayerConfig config = new PlayerConfig.Builder()
        .playlistUrl("https://cdn.jwplayer.com/v2/playlists/a12bc3D4")
        .build();
mPlayer.setup(config);
```

# Create a config object that defines the properties of the player.

<!-- java@1 -->

Read more about <a href="https://sdk.jwplayer.com/android/v4/reference/com/jwplayer/pub/api/configuration/PlayerConfig.Builder.html" target="_blank">PlayerConfig.Builder().

# Define the JWP-hosted playlist and assign it to the **config** object.

<!-- java@2 -->



# Set up JWPlayer -- mPlayer in this example -- with config.

<!-- java@4 -->