Pb
This is a library with 0 dependencies that allows you to embed a podcast in your web page. Fork on GitHub.
Features
- Provide a podcast URL, see a podcast rendered
- Total library size is
~4.5kb
- Optionally provide a limit to the number of episodes displayed
- Each episode has its own audio player
Usage
- Create an element on your page with the class
pb-embed
and attributedata-feed="<podcast-url-here>"
. - Include the
bundle.js
either in your own compiled js or as ascript
tag before thebody
closing tag. - Optionally, provide your own styling of the embed (see
./example/example.css
). - Optionally, provide an attribute of
data-limit="<some number>"
to limit the number of episodes displayed.