Sie sind nicht angemeldet.

1

Freitag, 9. April 2010, 14:30

pause, resume not working.

Hello,

I have set the onclick of a plugin to pausesound(s1);, and for another plugin, it is resumesound(s1);. I have started the music with this
playsound(s1, sound1.mp3, 1); Nothing happens when i click those plugins; audio plays on, no errors.

To put it simply, pausesound is not working. I cannot say anything about resumesound because pausesound is not functional. I have also checked that pausesoundtoggle too isn't working.

Here is the xml that i am using

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
	<action name="onstart">
		loadscene(sc_10, null, MERGE);
		playsound(s1, sound1.mp3, 1);
	</action>

	<plugin name="pi_sound_on" url="http://localhost/vtours/seth/assets/sound-on.png" 
			align="leftbottom" x="80" y="5" width="32" height="32" keep="true" 
			onclick="resumesound(s1);" 
			/>
	
	<plugin name="pi_show" url="http://localhost/vtours/seth/assets/sound-off.png" 
			align="leftbottom" x="130" y="5" width="32" height="32" keep="true" 
			onclick="pausesound(s1);" 
			/> 
	

	<plugin name="soundinterface" url="http://localhost/vtours/seth/plugins/soundinterface.swf"
			rootpath="http://localhost/vtours/seth/panos/hotel3/" keep="true" 
			preload="true"
			
			/>


I am using the plugin that comes with krpano-1.0.8-beta8-2009-12-16 . I am on windows xp. Checked on firefox, chrome and ie.

stopsound and playsound are working as expected.

Any help would be appreciated.

Thank you.

2

Freitag, 9. April 2010, 17:43

Try updating the plugin with the latest available soundinterface.swf. According to what I read ( I may have overlooked something), the pause/resume features weren't available until Jan 2010.

3

Freitag, 9. April 2010, 19:20

@Jarredja, you are right, those features came in after Jan, 2010. Will i have to update everything, viewer, plugins and tools for this or will it be okay if i just upgrade the soundinterface plugin?

Thank you.

4

Freitag, 9. April 2010, 19:42

just replacing the sound interface is enough to fix your sound issues. but i usually replace all plugins when possible.

Ähnliche Themen