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:

  1. Create a named `<div>` in the `<body>` of your page in the location where the player should appear.

  2. Call <a href="" 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="" 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 />