Difference between revisions of "Widget:SpotifyPodcast"

From The Portal Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly><iframe src="https://open.spotify.com/embed-podcast/episode/<!--{$podcast|escape:'urlpathinfo'}-->" width="<!--{$width|escape:'html'|default:'100%'}-->" height="<!--{$height|escape:'html'|default:156}-->" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe></includeonly>
<noinclude>
== Usage ==
[[File:SpotifyURI.jpg|right]]
Embed Spotify podcasts on wiki pages. Use the code given by the Spotify URI without <code>spotify:</code> or <code>episode:</code>.
 
Sample URI: <code>spotify:episode:1bMo4P2RJhvEtlAx96utmo</code>
 
<syntaxhighlight lang="html+handlebars">{{#widget:SpotifyPodcast|podcast=|width=}}</syntaxhighlight>
</noinclude><includeonly><iframe src="https://open.spotify.com/embed-podcast/episode/<!--{$podcast|escape:'urlpathinfo'}-->" width="<!--{$width|escape:'html'|default:'100%'}-->" height="<!--{$height|escape:'html'|default:156}-->" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe></includeonly>

Revision as of 19:38, 21 February 2021

Usage

SpotifyURI.jpg

Embed Spotify podcasts on wiki pages. Use the code given by the Spotify URI without spotify: or episode:.

Sample URI: spotify:episode:1bMo4P2RJhvEtlAx96utmo

{{#widget:SpotifyPodcast|podcast=|width=}}