Creates a podcast fieldtype for the embed of Podbean or Libsyn podcast media players. A podcast can be embeded using a podcast's share url.
This plugin requires Craft CMS 3.0.0-beta.23 or later.
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require kuriousagency/podcast-embedder
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Podcast Embedder.
Podcasts hosted on either the podbean or libsyn services can be embedded in templates using the podcast embedder fieldtype.
Create a new field in Settings → Fields → New Field and select Podcast from the fieldtype dropdown.
To add a podcast to templates add the following twig code:
{{ craft.podcastEmbedder.embed(podcast) }}
-
craft.podcastEmbedder.embed()
-
craft.podcastEmbedder.getEmbedUrl()
-
craft.podcastEmbedder.getThumbnail()
-
craft.podcastEmbedder.getTitle()
-
craft.podcastEmbedder.getDescription()
-
craft.podcastEmbedder.getType()
-
craft.podcastEmbedder.getPodcastId()
- Add more providers
Brought to you by Kurious Agency