2.6.3 base.embedded.audio Audio
The HTML5 <audio>
element specifies a standard way to embed audio in a web page.
Example
Markup: base/embedded/embedded-audio.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">audio</span> <span class="hljs-attr">controls</span>=<span class="hljs-string">""</span>></span>
<span class="hljs-tag"><<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://simpl.info/audio/audio/audio.ogv"</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"audio/ogg"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://simpl.info/audio/audio/audio.mp3"</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"audio/mpeg"</span>></span>
Your browser does not support the audio element.
<span class="hljs-tag"></<span class="hljs-name">audio</span>></span>
</span>
Source:
base/embedded/_embedded.scss
, line 48