Hello,
New user here, I'm happy to reach the GG forum.
I'd like to know if there is a simple way to launch a sound when I open an image (with a popup image) ?
Thanks
Laurent
Sound in a popup image
Hi Laruent,
Welcome to the forum
Yes there is a very simple way to launch a sound when you open an image.
1. Set up your Image Point Hotspot in the Viewer and the Image Hotspot Template in the skin
2. Select 'Audio' from the Viewer Modes
3. Double click in the Viewer and locate your audio file
4. Set the properties i.e. give it a meaningful ID, mode, Audio level, loop, etc
Here's a link to more info: https://ggnome.com/doc/sounds-add/
5. In the skin add a new Action to the ht_image hotspot template that has the Action Play Media with the Target the ID you set for the audio file.
Here's a link to the project above https://p2vr.s3-ap-southeast-2.amazonaw ... index.html
cheers,
Tony
Welcome to the forum
Yes there is a very simple way to launch a sound when you open an image.
1. Set up your Image Point Hotspot in the Viewer and the Image Hotspot Template in the skin
2. Select 'Audio' from the Viewer Modes
3. Double click in the Viewer and locate your audio file
4. Set the properties i.e. give it a meaningful ID, mode, Audio level, loop, etc
Here's a link to more info: https://ggnome.com/doc/sounds-add/
5. In the skin add a new Action to the ht_image hotspot template that has the Action Play Media with the Target the ID you set for the audio file.
Here's a link to the project above https://p2vr.s3-ap-southeast-2.amazonaw ... index.html
cheers,
Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Hello Tony,
First, I'd like to thank you for your reply !
Other problem to come is to mute the background sound (the one I selected on my first pano) in order to listen the one of the image when I clic on !
And thanks again for helping
Laurent
First, I'd like to thank you for your reply !
Other problem to come is to mute the background sound (the one I selected on my first pano) in order to listen the one of the image when I clic on !
And thanks again for helping
Laurent
Hi,
Add a new Action to the Hotspot that pauses the background sound.
Add a new Action to the Close Button that plays the background sound.
Updated sample at https://p2vr.s3-ap-southeast-2.amazonaw ... index.html
Tony
Add a new Action to the Hotspot that pauses the background sound.
Add a new Action to the Close Button that plays the background sound.
Updated sample at https://p2vr.s3-ap-southeast-2.amazonaw ... index.html
Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/