I thought I saw this little snippet was code when you gave up on soundinterface.js and removed it. That audio player shouldn't be there at ALL. The soundinterface.js handles it's creation and use.
Now I think I see the problem. Your installed version was 2010-11-24. HOLY CRAP. I looked too fast at the version and thought you had the latest installed which is 2011-11-24 I believe.
That was a whole year ago.
For the best way to achieve solutions rapidly. A generic guide I've been thinking about.
1. Install the latest version of all swfs, and js's.
2. Read the documentation again.
3. Check out how working tours handle the situation.
4. Simply your problem by reducing your tour the least amount of elements in which you can still showcase your bug.
5. Think about your issue in the shower.
6. Ask for help in English or translated by someone that speaks English very well. Detailing, what you are trying to achieve, why you think it doesn't work, and a working link to your tour.
7. Failing all these steps, ask Klaus.
I think step 1 is where you need to go.
Also, you should always have at least two environments when developing.. A development version and a production version.. So you can muck about without causing interruptions to a live tour. Also you can turn off errors on the js version, I think its showerrors=false. Getting soundinterface up and running is a piece of cake one you've satisfied the requirements for it to work in the first place.
The plugin
|
Source code
|
1
|
<plugin name="soundinterface" url="%SWFPATH%/plugins/soundinterface.swf" alturl="%SWFPATH%/plugins/soundinterface.js" volume="1.0" preload="true"/>
|
Playing, you can call this action anywhere you want.
More actions
http://krpano.com/plugins/soundinterface/#actions
You can create buttons with onclick attributes to attach to all these actions to take full control over the player. Good luck buddy.
|
Source code
|
1
|
playscenesound(1189,%SWFPATH%/director/lasbovedas.mp3);
|
Hi Sachagriffin,
You said to look at the actions and examples on "this" page, but don't the actions listed therein call upon the soundinterface.swf and sound objects of the krpano Flash Player itself and not on the built in audio component of HTML5? I am looking to control the HTML5 audio player that can be used on my webpage (the one that is there even if there is not a tour embedded on the page), not the krpano sound interface. When the below code is placed on my html page, a media controller goes in the top left corner of my page... along with a long black bar that extends from one side to the other. But I don't want that. I just thought there might be a way to control it using the krpano player. Maybe I'm just jumping through hoops here and need to redo my tour for v.14 and this problem will go away and kill any need for a quick workaround.
I've looked all over the actions and instructions here and no where can I found anything that controls this:
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
|
<!DOCTYPE html>
<html>
<head>
.........
</head>
<body>
<audio controls="controls" autoplay="autoplay">
<source src="music/chant.mp3" type="audio/mp3" />
</audio>
----------
</body>
</html>
|