Action after media played

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
MPW
Posts: 123
Joined: Wed Mar 06, 2013 4:22 pm
Location: Germany

Hi there,
just found a topic from 2009 with a similar question, that wasn´t answered. So:
I do have an audio-control-panel within my skin. A play/pause-button and a stop-button.
After starting a media the play-button changes to pause (and vv) and when clicking on stop the play/pause-button shows play again.
No big deal.
Now I want to trigger the play/pause-button to show play again after the media (played just once) is over.
I tried a timer in length of the media, but with a loading delay due to bad connections the button changes while still playing the media.

What´s the smart way? (like: media over: hide pause + show play + stop media)

Thank you for your help.
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

HI,
If you look at the Video File component this actually does this.
It only works with an MP4 or a URL. Not with YouTube or Vimeo.
But the video and seekbar elements and detect the video stop and with a deactivated action change graphics or activate any other action.
Regards,
Hopki
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