How to play sound on Mk3100 with Enterprise Browser (Webkit)

// Expert user has replied.
F Frederic Neuberg 3 years 7 months ago
74 4 0

Hello,
 
My objective is simple, I want to play sound when I touch a hard kiosk button.
 
I tried to copies every sound in different directories for test…
I tried a lot of possibilities, but I never got any sound....
 
 
Ex :
try {
      EB.Mediaplayer.start("file:///Application/decode.wav");
     }
catch (e3) {
               alert("Error - 1...");
}
 
I suppose the problem is probably
     - sound wav location
     - sound wav définition in Mediaplayer command : ? file:///App... ?
     -
 
Ps :
I respect the case sensitive « wav » name.
If I click on sound wave file, it's played...
When os starting, the windows « welcome » sound is playing correctly.
In Volume & sounds Panel :

Events sound : enable
Application sound : enable
Notification sound : enable
Key click : disable
Scree taps : disable

The (EB.) ebapi-modules.js reference is correct : Scan events are triggered.
 
Enterprise Browser :
                Version 1.6 or 1.7  (Same problem)
                Licence : OK
                Engine : Webkit               
 
MK3100 : (Windows CE7)
                 Os Version : 07.00.2824
                OEM Name : Symbol MK3100
                OEM Version : 01.47.30
 
Thank you in advance for your help. I am looking forward hearing from you.

Please Register or Login to post a reply

4 Replies

J Joydeep Chakraborty

Can you please try with PlayeWave API of genaric object.

Generic Preexisting JavaScript Object - Zebra Technologies TechDocs

Regards,
Joydeep

Y Yanis Dalabiras

Hi,

Did you try "\Application\decode.wav" (with back slashes?)
Also might be worth trying "file://\Application\decode.wav".

I notice there is no return values from the start() method but does that exception ever get thrown?  I suspect not but do you see anything in the log file which could indicate the issue?  I share your suspicion that this is related to the sound file location.

S Steven Sanders

A place to synthesize European and American ringtones, good songs, famous songs around the world today. European and American ringtones are updated continuously and fastest on our website tainhacchuonghot.com. Download European and American ringtones for free for all of you who love this music genre. The place to solve all the needs of downloading European and American music ringtones for those of you who are always up to date with music news and know the charm of songs on the world's top charts.
Visit now: https://dzwoneknatelefon.com/

A Aurelia Dulcie

It is more convenient if you install ringtones for your mobile phone on the website https://klingeltone-kostenlos.de/ which is safe and free

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