Widget: Plyr-1: verschil tussen versies

Uit MediaWikiGids
Ga naar: navigatie, zoeken
Regel 13: Regel 13:
 
     <source src="<!--{$src_mp3|validate:url}-->" type="audio/mp3" />
 
     <source src="<!--{$src_mp3|validate:url}-->" type="audio/mp3" />
 
     <!--{if isset($src_ogg)}--><source src="<!--{$src_ogg|validate:url}-->" type="audio/ogg" /><!--{else}--><!--{/if}-->
 
     <!--{if isset($src_ogg)}--><source src="<!--{$src_ogg|validate:url}-->" type="audio/ogg" /><!--{else}--><!--{/if}-->
 +
<p>Your browser doesn't support HTML5 audio. Here is
 +
    a <a href="<!--{$src_mp3|validate:url}-->">link to download the mp3-audio</a> instead.</p>
 
</audio></includeonly>
 
</audio></includeonly>

Versie van 4 apr 2020 om 16:29

Ontwikkeling voor HTML5 media speler op basis van plyr.js

{{#widget:plyr-1
|src_mp3 = url to mp3-file
|src_ogg = url to ogg-file (optional) 
}}