I have the Doobox Boom stack. I’d like to automatically play an MP3 (Christmas ad) (autoplay and stealth mode) on a Christmas page, but unfortunately Safari and other browsers block playback.
Is there a workaround?
I don’t think so. Autoplay is mostly done at the user side. See:
However mozilla has this guide:
don’t know if that works on all browsers.
greetings dirk
Thanks,
but I’ve already found a better solution.
On the page, I scroll a white text on a Christmas red background. When I hover the mouse over the background, a pulsating musical note appears. When I click, the background expands vertically and horizontally, making room for two speakers positioned to the left and right of the background. The music/Christmas greetings starts.
Then, when I click, it pauses and returns to the initial situation.
That’s fine.