Alternately, I wonder if there is a way to have site-level or category level background music through means of a plugin or something… Although I suppose having site-level background music is no different than opening up your favorite streaming service and have that play in the background.
I’m on an aviation-based forum and a few categories are dedicated to specific airlines. Some of those airlines feature native boarding music on their aircraft. Being able to incorporate, for example, the boarding music of Qatar Airways to play in the background of the Qatar Airways category would be pretty sweet!
After skimming through the documentation provided by Google, I wonder if there is a way to store the music/media on the forum and have it play based on a trigger of sorts that circumvents the automatic aspect… For lack of programming knowledge, I’m not even going to try to type out some sample code to illustrate. Hopefully I’ve explained clearly enough and I can try to clarify where need be.
If you want web pages to auto-play music, the easiest thing to do would be to go back about 10-15 years. Almost everyone on the planet hates web pages that make noise they didn’t explicitly ask for, so they all use browsers that keep that from happening.
An acceptable alternate form of this feature would be a floating “music player” added on the page. By using a native <audio controls loop>, the user would be able to control whether it was playing.