Methods
Available methods
The <podkite-player> element has several methods you can call:
Method | Description |
---|---|
play() | Starts playing. |
pause() | Pauses the audio. |
stop() | Stops the audio. |
HTML code example:
<script>
const player = document.querySelector('podkite-player');
player.play();
</script>