can I pause/play sound using toggle button  

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
no avatar
Topic author
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Wed Mar 23, 2016 10:32 am

can I pause/play sound using toggle button

by Leechad » Thu Jan 11, 2018 11:47 am

I have a long voiceover sound file that plays throughout a group of panos. Is there a way to insert a toggle button that can be used to pause/resume the sound file?

User avatar
Kolor Team
Posts: 6062
Likes: 801 posts
Liked in: 444 posts
Joined: Mon Aug 12, 2013 12:47 pm
Location: France

Re: can I pause/play sound using toggle button

by Annis » Fri Jan 12, 2018 4:52 pm

There's an action to play and stop the sound, but not resume, however when you leave the tab of the tour to another tab in the same browser the window the sound is paused then resumed so that should be possible, but only from the xml.

If you can find what code it is to resume the sound (or if someone knowledgeable in krpano passes through) you could use the Call KrPano code action in your toggle button to pause/resume the narration. ... rPano_Code

Who is online

Users browsing this forum: No registered users and 3 guests