Hi there,
I´m almost
driving crazy here with the html5-soundinterface and videoplayer. During the last three days I tried to find the correct (path)code to implement sound and video into my html5-tours, but I keep getting these messages:
ERROR: soundinterface - loading of sounds/jingle.mp3 failed!
ERROR: videos/video.mp4 - loading video failed!
The weirdest thing is that it sometimes work and other times not

If it works it just takes a slight change somewhere in the XML-Code at any place and I get above error-messages
Here´s the code I use:
Soundinterface
|
Source code
|
1
2
3
4
5
6
7
8
9
|
<plugin name="soundinterface"
url="soundinterface.js"
rootpath="sounds"
preload="true"
keep="true" />
<action name="play_audio">
playsound(jingle,sounds/jingle.mp3,0);
</action>
|
Videoplayer
|
Source code
|
1
2
3
4
5
6
7
8
9
10
|
<hotspot name="video" style="hotspot" ath="100" atv="0" onclick="action(play_video)"/>
<action name="play_video">
addplugin(video);
set(plugin[video].url,videoplayer.js);
set(plugin[video].videourl,videos/small.mp4);
set(plugin[video].align,center);
set(plugin[video].loop,false);
set(plugin[video].onvideocomplete,removeplugin(video));
</action>
|
I did try really every possibilty to set the correct path, but I keep getting the error-messages.
Here´s what I tried so far:
Videoplayer
|
Source code
|
1
2
3
|
...videourl,%SWFPATH%/videos/small.mp4
...videourl,'%SWFPATH%/videos/small.mp4'
...videourl,% BASEDIR%/videos/small.mp4
|
Soundinterface
|
Source code
|
1
2
3
4
5
6
7
|
... rootpath="sounds"
... rootpath="%SWFPATH%/sounds"
... rootpath="%SWFPATH%/sounds/"
playsound(jingle,jingle.mp3,0);
playsound(jingle,sounds/jingle.mp3,0);
playsound(jingle,%SWFPATH%/sounds/jingle.mp3,0);
playsound(jingle,% BASEDIR%/sounds/jingle.mp3,0);
|
And the million dollar question is:
What the heck is wrong with these plugins 
The Flash-versions never made any problems if the path is correct. I tried all last versions without any luck. Sometimes it works, sometimes not. And I just can´t figure out a system behind the working ones.
Desparet regards
Nupsi