Resettign button after audio plays

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
zoomhome
Posts: 88
Joined: Wed Sep 24, 2008 9:40 pm

Resettign button after audio plays

Post by zoomhome » Mon Sep 16, 2019 6:48 pm

I have a question about how I can have the stop / start button on this tour reset so after the audio is over it will be a play button instead of having to hit stop then start again to play the audio a second time. These are being used in a kiosk so once it's launched and plays though completely if the person walks away currently the next visitor will have to hit the stop button then play to launch. I want it to be the play button once the audio finishes and not to have to hit the stop button. Any help would be great.

Here is the demo page http://www.zoomhome.com/heisler and the skin is attached.

Russ Addie
Zoomhome
Attachments
RR_new_kiosk.ggsk
(242.38 KiB) Downloaded 22 times

User avatar
Hopki
Gnome
Posts: 9649
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Resettign button after audio plays

Post by Hopki » Mon Sep 16, 2019 11:11 pm

Hi Russ,
Not near a computer at the moment.
Open one of the packaged skins and look in the tree for the ht_video controls or controller.
There you will find a seek bar and two buttons, a play and a pause.
The seek bar has actions to swop out the buttons.
For audio still use a seek bar but set to the audio file but just hide it.
Just have the play/pause/stop buttons showing.
Regards,
Hopki

User avatar
Tony
Posts: 816
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Re: Resettign button after audio plays

Post by Tony » Tue Sep 17, 2019 6:24 am

Hi Russ,

To follow up on Hopki's instructions I've updated the skin by adding in a seekbar and enabling it's actions to show and hide the audio buttons.

You can see a sample output here: https://p2vrtutorials.s3-ap-southeast-2 ... index.html

I've attached the updated skin.

cheers,

Tony
Attachments
RR_new_kiosk_stopsound.ggsk
(242.52 KiB) Downloaded 18 times
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/

zoomhome
Posts: 88
Joined: Wed Sep 24, 2008 9:40 pm

Re: Resettign button after audio plays

Post by zoomhome » Tue Sep 17, 2019 7:09 pm

Tony and Hopki, thanks so much for the help. It works perfectly once i point at the audio file. I couldn't have figured that without your help as I don't use the software often enough so it always feels like I'm relearning it every time I dig into a larger project.

Appreciate the help, Russ

Post Reply

Who is online

Users browsing this forum: Tony and 4 guests