After adding the [player library](🔗) to your site, you can instantiate the player and play content.
<br /> <hr />
## Basic content playback
The following steps to play media assets with the player:
Create a named `
<div>
` in the `<body>
` of your page in the location where the player should appear.Call <a href="https://docs.jwplayer.com/players/reference/jwplayerdivsetup-options" target="_blank">`
setup()
`</a> with the [playlist](🔗) property to instantiate the player in the named `<div>
`.
If you are embedding a self-hosted player, the player uses a default CDN.
You can add the <a href="https://docs.jwplayer.com/players/reference/setup-options#rendering-and-loading" target="_blank">`
base
`</a> property to the player setup to override loading the default CDN and specify a different base URL to prepend to scripts.
<br /> <br />

In addition to instantiating an instance of a player, <strong>setup()</strong> allows you to <a href="/reference/jwplayerdivsetup-options" target="_blank">enable and configure player features</a>. <strong>setup()</strong> is one of <a href="/players/reference/javascript-player-api-introduction" target="_blank">several methods</a> that can be used to interact with the player.
<br />