hallo,
first the easy question:
made a custom property field on a hotspot. there is the path to a mp3 audio file (specially to this hotspot)
if i click on the hs the following mask came:
with what action and how i start playing the file?
second question is : the tour is bilingual, how can i assign the correct audio file to the correct language? ver7
thx,
wiso
audio file
- Hopki
- Gnome
- Posts: 13088
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi wiso,
With Hotspot Custom properties you are changing the variable only when the mouse is over the hotspot.
As you mouse away the data is lost.
So what you need is a Set Value action to set the value to a video element.
Please the attached project.
The hotspot sets the path to the video, and then the play/pause button can play the video.
However, clicking the point hotspot again will reset the video element as it set the path again.
Use a screen tint to cover the point hotspots when the video plays.
Regards,
With Hotspot Custom properties you are changing the variable only when the mouse is over the hotspot.
As you mouse away the data is lost.
So what you need is a Set Value action to set the value to a video element.
Please the attached project.
The hotspot sets the path to the video, and then the play/pause button can play the video.
However, clicking the point hotspot again will reset the video element as it set the path again.
Use a screen tint to cover the point hotspots when the video plays.
Regards,
- Attachments
-
- project.zip
- (2.74 MiB) Downloaded 154 times
Garden Gnome 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/
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/
works fine, thank you!
I have two more questions:
*) in my case i have audio files. but i also draw the video window for the output. in this case it doesn't matter how big it is and where it is, isn´t it?
*) how (with what visible function) can i change the play button to a pause symbol while the file is running?
thank you very much,
wiso
I have two more questions:
*) in my case i have audio files. but i also draw the video window for the output. in this case it doesn't matter how big it is and where it is, isn´t it?
*) how (with what visible function) can i change the play button to a pause symbol while the file is running?
is not necessary in my case.However, clicking the point hotspot again will reset the video element as it set the path again.
Use a screen tint to cover the point hotspots when the video plays.
thank you very much,
wiso
the way I imagined it does not work with the translation german/english audio file.
(with ikipedia link for german and english works like this)
it always plays the german file.
do i have to create a separate cutom hotspot field for the english link?
thx,
regards,
wiso
(with ikipedia link for german and english works like this)
it always plays the german file.
do i have to create a separate cutom hotspot field for the english link?
thx,
regards,
wiso
Hopki, I used the ht_audio component from your instructive sample project to add hot spots that play sound clips. It works great with one exception related to switching languages. My tour supports both English and Spanish. I provide two versions of each sound clip and use Poedit to control which is used for each language.
In simple terms, my problem is as follows:
• I select English
• I play sound hotspot #1; it plays in English
• I switch to Spanish
• I play sound hotspot #1; it still plays in English, which is incorrect
• I play sound hotspot #2; it plays in Spanish
• I try sound hotspot #1 again and now it plays in Spanish
So the audio hotspots seem to ignore a language change until a different audio hotspot is played.
Any suggestions? Thanks!
In simple terms, my problem is as follows:
• I select English
• I play sound hotspot #1; it plays in English
• I switch to Spanish
• I play sound hotspot #1; it still plays in English, which is incorrect
• I play sound hotspot #2; it plays in Spanish
• I try sound hotspot #1 again and now it plays in Spanish
So the audio hotspots seem to ignore a language change until a different audio hotspot is played.
Any suggestions? Thanks!
I found what appears to be a fix. If I put a dummy value in the "active_snd" variable during the mouse click that changes languages, the problem goes away and the audio hotspots respond to a language change the way they should.
Thanks!
Thanks!
- Hopki
- Gnome
- Posts: 13088
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Garden Gnome 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/
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/