i have the next code
var AlarmaIntrusion = Ti.Media.createSound({url:"/alarintru.wav"});
AlarmaIntrusion.play();
I'm working with javascript in Appcelerator, with Titanium SDK 5.3.0. Then the code runs fine in Android, but in IOS don´t sound.
Where can be the problem?
尝试删除/
并确保从相对于您的工作路径的正确路径进行索引。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.