Page 1 of 1

to stop video?

Posted: Sun Mar 03, 2019 11:40 am
by Trugmaker
I've inserted a short MP4 video in my blog with WWBVideoPlayer1- Hidden video - Added icon to play video - Using events to open video - All works well but I want the video screen to disappear when it's finished. In events I have used onanimationend - Hide, but that doesn't do the trick. What event should I use?

Re: to stop video?

Posted: Sun Mar 03, 2019 12:33 pm
by Pablo
The WWBVideoPlayer1 does not events.
But if you use standard HTML5 video then 'onended' event should work.
https://www.w3schools.com/jsref/event_onended.asp

Re: to stop video?

Posted: Sun Mar 03, 2019 3:13 pm
by Trugmaker
Worked like a DREEEEEAM!!! Thankyou!!