Forum Discussion
UnityAllThingsM
2 years agoCommunity Member
Controlling Dynamically Populated Audio in a Webobject
I'm working on a dynamic course where all the content is loaded from offsite assets linked in text-boxes and webobjects, all assigned by JSON. I have everything working except for audio, which I can...
UnityAllThingsM
2 years agoCommunity Member
Small update: Finally bit the bullet and reformatted the slide to use the dynamically created audio line as shown in the original example and I'm now able to control it with pause() and play() methods. It hasn't broken the slide by popping up an MP3 player, so I don't need to directly target an on-timeline webobject anymore.
- EricSantos2 years agoStaff
Hello Unity!
I'm glad to hear that reformating the slide to use the dynamically created audio line allowed you to control it! We can't advise with JavaScript concerns, but what you shared will be helpful to other community members with the same case.
Enjoy the rest of your day! 🙂