AnchorFm
A podcast episode from Anchor, now Spotify for Creators.
import { AnchorFm } from 'sveltekit-embed'; 1<AnchorFm
2 episode_url="purrfect-dev/embed/episodes/3-6---Effective-Testing-using-Cypress-io-e1vbg9m"
3/>Open the episode on Anchor, choose Embed and copy the part of the src after anchor.fm/.
A taller player
The player is 100px tall by default. Pass any CSS height.
1<AnchorFm
2 height="165px"
3 episode_url="purrfect-dev/embed/episodes/3-6---Effective-Testing-using-Cypress-io-e1vbg9m"
4/>Props
| Prop | Type | Default |
|---|---|---|
episode_url required The path after | string | – |
height Any CSS height. | string | '100px' |
width Any CSS width. | string | '100%' |
loading
| 'lazy' | 'eager' | 'lazy' |
Something wrong on this page? Edit it on GitHub.