Widget:AudioPlayer: Difference between revisions

From The Midnight Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 225: Line 225:
customElements.define('audio-player', AudioPlayer);
customElements.define('audio-player', AudioPlayer);
</script>
</script>
<template>
         <style>
         <style>
             button {
             button {
Line 417: Line 416:
             <input type="range" id="volume-slider" max="100" value="100">
             <input type="range" id="volume-slider" max="100" value="100">
             <button id="mute-icon"></button>
             <button id="mute-icon"></button>
         </div>
         </div>
    </template>
 
 
 
 


<audio-player data-src="<!--{$mp3|escape:'urlpathinfo'}-->"></audio-player>
<audio-player data-src="<!--{$mp3|escape:'urlpathinfo'}-->"></audio-player>
</html>
</html>
</includeonly>
</includeonly>

Revision as of 09:09, 19 May 2023


Sample result