> For the complete documentation index, see [llms.txt](https://docs.podigee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.podigee.com/api-reference/web-player.md). Agents can also search and read this documentation through its [MCP server](https://docs.podigee.com/~gitbook/mcp).

# Web player and embeds

Developer reference for the Podigee web player, with embed codes, oEmbed, JavaScript API, and themes.

Use this section when you put the Podigee web player on a website that you build or maintain. The player plays one episode and can show a playlist of the podcast. Podigee creates the player configuration from the web player settings of your podcast.

## Choose a reference

| You want to                                                                             | Reference                                                                                                                     |
| --------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| Build an embed code, or change what an embed shows with parameters in its address.      | [Embed codes and configuration URLs](https://docs.podigee.com/api-reference/web-player/embed-codes-and-configuration-urls.md) |
| Let a content management system (CMS) embed an episode from the address of the episode. | [oEmbed](https://docs.podigee.com/api-reference/web-player/oembed.md)                                                         |
| Control the playback from your page, or react to events in the player.                  | [Player JavaScript API](https://docs.podigee.com/api-reference/web-player/javascript-api.md)                                  |
| Replace the look of the player with your own template and style sheet.                  | [Custom themes](https://docs.podigee.com/api-reference/web-player/custom-themes.md)                                           |

## Before you start

Set up the player in Podigee before you use these references.

| Task                                                    | Page                                                                                                                                                       |
| ------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Choose the style, colors, panels, and platform buttons. | [Configure the web player](https://docs.podigee.com/documentation/create-and-publish/publishing-and-distribution/configure-the-web-player)                 |
| Copy the embed code of the podcast or of one episode.   | [Embed the player on your website](https://docs.podigee.com/documentation/create-and-publish/publishing-and-distribution/embed-the-player-on-your-website) |

## Addresses

| Item                 | Address                                                                                                                                                    |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Player script        | `https://player.podigee-cdn.net/podcast-player/javascripts/podigee-podcast-player.js`                                                                      |
| Player configuration | `https://<subdomain>.podigee.io`, the Podigee address of your podcast. The embed codes use this address also when your podcast website has its own domain. |
| oEmbed endpoint      | `https://embed.podigee.com/oembed`                                                                                                                         |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.podigee.com/api-reference/web-player.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
