SyntaxFix
Write A Post
Hire A Developer
Questions
As of 2016, the following will suffice (you don't even need to embed):
let src = 'https://file-examples.com/wp-content/uploads/2017/11/file_example_MP3_700KB.mp3'; let audio = new Audio(src); audio.play();
See more here.