SL3 background music playing in PC version, but not mobile or tablet version

Hello!

I added the following code to the bottom of a story.html and story_html5.html files for a project: 

</div>

<audio src="YOURSONG.mp3" preload="auto" autoplay loop></audio>

</body>

</html>

The code is added just before </body> in both files. This allows the 1 minute .mp3 to loop throughout a the entire file. The .mp3 is also in the story output folder.

This project is stored on Amazon sw3 server and I'm using CloudBerry as my transfer.

The music plays perfectly, when launched using the URL for story.html on PC. It does not play when launching the story.html file or story_html5.html on an android device or iPad, and does it not play play if I launch the  URL for the story|_html5.html file from a PC.. 

Do I have the code in the wrong location, for it to work? Or, is this not possible? I do have other projects when the audio plays PC and mobile, but it's narration screen by screen with no code changes to the .html files.

Any input would be really helpful, as this is intended for mobile use specifically.

Thanks!

Lisa

Be the first to reply