Sound as a hotspot?

Q&A about the latest versions
Post Reply
ChristofM
Posts: 9
Joined: Mon Nov 30, 2015 4:46 pm
Contact:

Fri Jun 09, 2017 10:54 pm

Dear all,
Dear Hopki,

I am working on a project for a close friend. He is running a nice little guitar shop.

I tried to add different sounds to a single panorama (e.g. 0 degree / 180 degree) did not work very well, I faced overlays. Even when reducing the sice of the sound area. This did not happen in the localhost during testing but e.g. in firefox

But more important, I wanted to add music / sound to various instruments as a hotspot. But only image, video and info are possible as far as I understand.

Anyone with an idea?

http://www.christofmoos.de/Guitarra/index.html

(move to second panorama in the background, this is with music at the moment)

Regards, Christof


I am using the latest version of Pano2VR, beta.
Vitaly
Posts: 34
Joined: Thu Oct 06, 2011 9:12 pm
Location: Ukraine
Contact:

Sat Jun 10, 2017 10:52 am

Hi
I like to use 2 sounds in my panoramas
Look for the example:
Two sounds - music and birds singing

To minimize sound mixing you should:
1. Place sounds at opposite corners of the node
2. Ambient set to 0
3. Minimize Horizontal size to avoid mixing

Yet one advice: Don't forget to use Direct node access for your multi-panorama tour. You will have direct URL for desired node (my example above) with this feature.

Concerning your question about playing sound in hotspot:
1. The very simple decision is to make simple video with static image of specified guitar + sound of this guitar
2. You can add HTML code in "Description" of Image Hotspot for playin sound

Code: Select all

<audio controls autoplay>
<source src="fender.mp3" type="audio/mpeg">
</audio>
Then add new element for displaying Description field in your skin.
I just checked this in my skin, sound plays, but it needs some add work to stop sound after closing image hotspot
Last edited by Vitaly on Mon Apr 27, 2020 1:12 pm, edited 1 time in total.
User avatar
Hopki
Gnome
Posts: 10622
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Tue Jun 13, 2017 10:48 pm

Hi Christof,
If you want to send me your project I would like to have ago at getting the project to how you want it.
Im sure its just settings so having the project will let me "play".
Regards,
Hopki
Hopki
Garden Gnome Software Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply