Widget:Html5audio: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
J* (Diskussion | Beiträge) |
J* (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
<includeonly><audio src="<!--{$url|validate:url}-->" width="<!--{$width|default:425|validate:int|escape:'html'}-->" height="<!--{$height|default:355|validate:int|escape:'html'}-->" | <includeonly><audio src="<!--{$url|validate:url}-->" width="<!--{$width|default:425|validate:int|escape:'html'}-->" height="<!--{$height|default:355|validate:int|escape:'html'}-->" | ||
− | <!--{if $controls != "0"}--> controls="controls" <!--{/if}--> | + | <!--{if !isset($controls) || $controls != "0"}--> controls="controls" <!--{/if}--> |
− | <!--{if $loop == 1}--> loop="loop" <!--{/if}--> | + | <!--{if isset($loop) && $loop == 1}--> loop="loop" <!--{/if}--> |
− | <!--{if $autoplay == 1}--> autoplay="autoplay" <!--{/if}--> | + | <!--{if isset($autoplay) && $autoplay == 1}--> autoplay="autoplay" <!--{/if}--> |
preload="auto" ></audio></includeonly> | preload="auto" ></audio></includeonly> |