Hi Hopki,
I have a button that appears when the intro video ends. I have added the 'media ended' action to the video, and set the target to the button. The button appears when the video ends but does not disappear when the video starts again. My goal is to have the button visible only at the end when the media is not playing, and if the media replays, it should disappear only to reappear when the media ends. How do I do this?
Nancy.
Have button when Media has finished playing
- Hopki
- Gnome
- Posts: 13534
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Nancy,
I'll assume that you are using hide and show actions and not change/set alpha.
If you are using a video element, then give it the additional action:
Source: Activate
Action: Visibility
Type: Hide Element
Target: button.
So when the video starts to play, this will trigger the hide action.
As a note, you could also use the following action to show the button:
Source: Deactivate
Action: Visibility
Type: Show Element
Target: button.
This would also work if the video was paused, where using Media Ended will only show when the video has finished/ended.
Regards,
I'll assume that you are using hide and show actions and not change/set alpha.
If you are using a video element, then give it the additional action:
Source: Activate
Action: Visibility
Type: Hide Element
Target: button.
So when the video starts to play, this will trigger the hide action.
As a note, you could also use the following action to show the button:
Source: Deactivate
Action: Visibility
Type: Show Element
Target: button.
This would also work if the video was paused, where using Media Ended will only show when the video has finished/ended.
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/
