Difference between revisions of "Widget:Audio"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<audio preload="metadata" id='pronounce'><source src="https://docs.google.com/uc?id=<!--{$googleID|escape:'html'}-->&export=download" ></audio> | <audio preload="metadata" id='pronounce'><source src="https://docs.google.com/uc?id=<!--{$googleID|escape:'html'}-->&export=download" ></audio> | ||
<button onclick='pronounce.paused ? pronounce.play() : pronounce.pause()'>Listen</button> | <button onclick='pronounce.paused ? pronounce.play() : pronounce.pause()'>Listen</button> | ||
<script> | |||
var pronounce = document.getElementById('pronounce') | |||
</script> |
Revision as of 18:28, 6 February 2022
<audio preload="metadata" id='pronounce'><source src="https://docs.google.com/uc?id=&export=download" ></audio> <button onclick='pronounce.paused ? pronounce.play() : pronounce.pause()'>Listen</button> <script> var pronounce = document.getElementById('pronounce') </script>