play/pause pinned video

Q&A about the latest versions
Post Reply
wking10
Posts: 24
Joined: Tue Nov 24, 2020 5:20 pm

Any tricks to:
1. play/pause a pinned video with a hotspot button
2.hide the pinned video until it is played. that way it doesn't make the whole area of the video clickable. Quite annoying when you have other hotspots on that area.
thanks.
User avatar
Hopki
Gnome
Posts: 13025
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
In the skin and under Media there are actions to play and pause as well as show and hide pinned media.
So you can use these actions in a point hotspot.
See documents for media actions: https://ggnome.com/doc/skin-actions/#media
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/
wking10
Posts: 24
Joined: Tue Nov 24, 2020 5:20 pm

thanks for the answer Hopki.
The Media action is what I need, just like what benu pointed out at the other thread.

A quick question, I can hide the pinned media at start using the action source "Config Loaded". Any recommendation where would be the best place to put this action?
At the moment I just plant it at one of the skin elements. I wonder is there anything for that purpose at the skin's global level, like the one you use to create Variables.
User avatar
Hopki
Gnome
Posts: 13025
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Personally, I would add a container and give it the ID, startup_actions.
This way you can keep track of any actions you have on open.
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/
Post Reply