Hi there,
on one of my videos on my site I am using a code to hide a picture overlay etc. and play the video, the moment my custom play button is clicked. My code looks like this:
export function playbutton_click(event) {
$w("#videoPlayer1").play();
$w("#playbutton").hide();
$w("#text264").hide();
$w("#text265").hide();
}
Problem: the play function does not work as you can see on my test-page: https://www.peterschier.com/blank
Any ideas?
Thanks and best
Peter
It does play, however you need to do two clicks on it.
The first click is on your playbutton which hides the elements that you have put on top of your video player.
The second click is on your actual video player which starts the video.