Difference between revisions of "Widget:OmnyFMEpisode"

From The Portal Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
Embed OmnyFM podcasts on wiki pages.
Embed OmnyFM podcasts on wiki pages.


<syntaxhighlight lang="html+handlebars">{{#widget:OmnyFMEpisode|show=the-portal|slug=|width=56%}}</syntaxhighlight>
<syntaxhighlight lang="html+handlebars">{{#widget:OmnyFMEpisode|show=the-portal|slug=|width=65%}}</syntaxhighlight>
</noinclude><includeonly><iframe src="https://www.omny.fm/shows/<!--{$show|escape:'urlpathinfo'}-->/<!--{$slug|escape:'urlpathinfo'}-->/embed?style=cover" class="mobile-fullwidth" width="<!--{$width|escape:'html'|default:'100%'}-->" height="180px" frameborder="0"></iframe>
</noinclude><includeonly><iframe src="https://omny.fm/shows/<!--{$show|escape:'urlpathinfo'}-->/<!--{$slug|escape:'urlpathinfo'}-->/embed?style=cover" class="mobile-fullwidth" width="<!--{$width|escape:'html'|default:'100%'}-->" height="180px" frameborder="0"></iframe>
</includeonly>
</includeonly>

Latest revision as of 15:27, 10 October 2022

Usage

Embed OmnyFM podcasts on wiki pages.

{{#widget:OmnyFMEpisode|show=the-portal|slug=|width=65%}}