Options
Available options
Attribute | Description |
---|---|
kitelink | The key of the created Kitelink for a specific episode. |
compact | Shows a compact version of the player. |
track-downloads | Tracks download numbers and shows it in your dashboard. |
theme="light" | Shows the player with a white background in a minimalistic style. |
utm-campaign="my-campaign" | Sets the utm_campaign value of all links. |
autoplay | Sets the HTML <audio> autoplay attribute. |
loop | Sets the HTML <audio> loop attribute. |
preload | Sets the HTML <audio> preload attribute. |
muted | Sets the HTML <audio> muted attribute. |
HTML code example:
<podkite-player
kitelink="pk-news-rode"
track-downloads
theme="light"
utm-campaign="documentation-page"
>
</podkite-player>
Above example results in the below player:
iFrame alternative
For Wix, Squarespace, and similar website builders, it may be more convenient to use iFrames instead of the faster and more modern HTML tag. You won't need to add the embed script for that.
Available options can be added as query parameters to the src URL of the iFrame. For example, you’d need to add &theme=light
to the iFrame URL in order to get the player in a light theme.
HTML code example:
<iframe
src="https://embed.podkite.com/v1/?kitelink=pk-news-rode&compact"
width="800" height="260" frameborder="0" allowtransparency="true" allow="encrypted-media">
</iframe>
Don’t forget to replace “pk-news-rode” with your Kitelink.
Above example results in the below player: