You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, October 30th 2014, 10:02am

Remove Pano and sound when closing popup

Hi, I have panos that opens on popup The problem is when I close the popup the pano is like still there and the sound is still playing!! This issue is on HTML5 browsers only, when flash is activated all is fine!
So Im wondering what javascript should I add (outside krpano) to the closing popup button to One: remove completely the pano, Two: remove the background sound!

Thank you so much *cool*

2

Thursday, October 30th 2014, 10:13am

Hi,

remove the pano using the removepano() function:
http://krpano.com/docu/html/#removing

Example:
http://krpano.com/examples/118/examples/…move-panos.html

Best regards,
Klaus

3

Thursday, October 30th 2014, 10:27am

Hi, thanks for your quick reply! I used the function removepano() but the sound still playing! How can I do the same to remove the sound by javascript outside krpano? Thank you!

4

Thursday, October 30th 2014, 11:07am

Then sound should be stopped automatically.

Do you have an example?

5

Thursday, October 30th 2014, 3:24pm

Hi, you can test with the example you gave, I tried with the same example wich is also in krpano examples package! Just adding sound to test.xml and you'll see.. With Flash the sound is removed too but with Html5 sound remain playing!! *sad*

6

Friday, October 31st 2014, 12:33am

Any advice?! *cool*

7

Friday, October 31st 2014, 9:20am

I will check it.

Best regards,
Klaus

8

Tuesday, November 4th 2014, 3:59pm

Hi,

right, there was a problem here - this will be fixed in 1.18.1.

Best regards,
Klaus