-
-
Save lukecav/28c21dd5439d2b42ab40d628cc5b5efb to your computer and use it in GitHub Desktop.
Use HTML <audio> element with a WordPress site asset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<figure> | |
<figcaption>Caption:</figcaption> | |
<audio | |
controls | |
src="https://sitedomain.com/wp-content/uploads/2019/03/filename.mp3"> | |
Your browser does not support the | |
<code>audio</code> element. | |
</audio> | |
</figure> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio