Play wav's path

J Juan-Antonio Martinez 3 years 5 months ago
1 2 0

I found that generic.PlayWave() requires full path for the wav's filename field. If file is on the same folder of calling html, say \Application, nor ".\\sound.wav" nor "sound.wav" work. Argument must be "\\Application\\sound.wav". I hope this could be fixed, it's a real constraint working with absolute paths. I hope this helps.

Please Register or Login to post a reply

2 Replies

J Juan-Antonio Martinez

Thanks! Then again it would not matter, one can always specify relative paths on a web-based page. Actually this is the way it usually works, I am afraid. All paths are relative to "root" folder, which usually is where default index.htm page is. Maybe behaviour is different, depending on how page is loaded (file:// or http://).

E Efkan YILMAZ

I have added a feature request to the product.  Although it would be useful it would only work with pages stored locally on the device, whereas most customers would be serving pages via HTTP so the priority would be quite low I'm afraid.

CONTACT
Can’t find what you’re looking for?