Hello,
I’m currently stuck. The aim is to have two pinned videos in a panorama that are positioned directly on top of each other. The first ID is "startava-a". This video is covered by a second embedded video with the ID "startava-b", which has repeat=1.
The first video features an avatar that just moves a bit to bring her to alive. The second video features the same avatar, but this time it delivers its dialogue.
The idea is for the video startava-a to run in a continuous loop (repeat -1). When you click on this video (or a separate Hotspot), it should be replaced by startava-b, which plays on top and then is hidden again. At that point, the first video becomes visible again in its endless loop.
I’ve tried various approaches in the skin, but I haven’t managed to get it working.
Does someone have any idea how to get this working?
Do I have any access to the pinned videos from the skin at all?
Thank you very much.
2 switching Videos
Finally, I was able to solve it. The trick is a counter with an initial value set to -1, which represents the 'sleeping mode'.
When the hotspot is clicked, the counter is set to 0 and begins to increment. The value of the counter controls the actions (which only run when the counter is within a certain range >=0 to <=77 or reaches a specific value >=78).
At the same time, actions also influence the counter (e.g., at the end, once all actions have run and the counter exceeds a certain value, it resets all videos, hotspots, and sets itself to -1). The loop is ready.
When the hotspot is clicked, the counter is set to 0 and begins to increment. The value of the counter controls the actions (which only run when the counter is within a certain range >=0 to <=77 or reaches a specific value >=78).
At the same time, actions also influence the counter (e.g., at the end, once all actions have run and the counter exceeds a certain value, it resets all videos, hotspots, and sets itself to -1). The loop is ready.
- Hopki
- Gnome
- Posts: 13264
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Kai,
What you could have done is stack the videos as you suggested.
Have the video startava-a set to loop 0, loop forever.
Then startava-b loop -1 so does not auto start statcked ontop of each other.
Add a seekbar element and connect it with startava-b and give it the actions:
• Config Loaded to hide startava-b (this hides the video startava-b so only startava-a shows)
• Activate, show startava-b
• Activate, hide startava-a
• Deactivate, hide startava-b
• Deactivate, show startava-a
The Hotspot just needs a play action for startava-b, when it starts to play the seekbar swaps teh videos, when its stopped, deactivates, it swaps them back.
Regards,
What you could have done is stack the videos as you suggested.
Have the video startava-a set to loop 0, loop forever.
Then startava-b loop -1 so does not auto start statcked ontop of each other.
Add a seekbar element and connect it with startava-b and give it the actions:
• Config Loaded to hide startava-b (this hides the video startava-b so only startava-a shows)
• Activate, show startava-b
• Activate, hide startava-a
• Deactivate, hide startava-b
• Deactivate, show startava-a
The Hotspot just needs a play action for startava-b, when it starts to play the seekbar swaps teh videos, when its stopped, deactivates, it swaps them back.
Regards,
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/