Everything displays correctly and it works if I press the play button but I want it to autoplay… I’ve tried using autostart just in case this worked but alas no joy.
Maybe the OP is using HTML5… they’ve brought embed back from purgatory.
I had a client insist on an auto-playing video. It was horrible because it was under the fold (so people don’t even know where that sound is coming from unless they scroll down!) but client insisted mostly because his competitors were doing it.
From the comments I gather I’m doing this all wrong. What I’m try to achieve is a page that has a player on it that automatically plays the linked audio but shows the controls so that the visitor can stop the song or replay it.
You might want to autoplay a file because you’ve just populated a div on a user event. Like if you want to have your own javascript logic for what’s going on in the page. If these components (the mp3 player in this case) were actually made to be programmatically useful then you could query the component to see what state it’s in. If it was playing and has finished, I guess it would be too much to ask to have it callback a js function defined in page so you could autoplay the next file in the playlist, but at the least you could put a query on a timer and find out if it’s time to play the next file.