You can see an example of how to insert a sound media within a point of interest? After creating the function that pre-loads the file as you can place it within a point of detail?
almost 10 years ago
Please have a look at the JS API Reference.
Basically you don't have to "place it wihtin" a point of detail. It is unrelated to a particular point, like an AR.ImageResource. You can play/pause the sound at any time, e.g. when a POI is clicked or a certain event occurs.