Widget: Plyr-1: verschil tussen versies

Uit MediaWikiGids
Ga naar: navigatie, zoeken
Regel 14: Regel 14:
 
     <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's a <a href="<!--{$src_mp3|validate:url}-->">link to download the mp3-audio</a> instead.</p>
+
   Your browser doesn't support HTML5 audio. Here's a <a href="<!--{$src_mp3|validate:url}-->">link to download the mp3-audio</a> instead.
 
</audio></includeonly>
 
</audio></includeonly>

Versie van 4 apr 2020 om 16:52

Ontwikkeling voor HTML5 media speler op basis van plyr.js

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