d-click button

hi, got a field hot with click click and double click
it shows and hides a youtube movie, when hiding, the video does not stop so image is gone but the sound stays.

what can i do, if i stop the video myself there is no problem but thats something i want not to boarder the viewer with.b v

look here https://hansanneveldt.wixsite.com/animaties/serie

the field is on the upper left wooden ball
tnx!!

Hey Hans,

Yeah, that sounds like a bug on our end. Until we solve it, you can do the following hack. Just before

$w('#video1').hide(); 

simply set video URL to any other video link:

$w('#video1').videoUrl = 'https://youtube.com/watch?v=1'; 

This is far from perfect, but it’s a quick fix you can have today.

i hve 1 video linked with this code:

export function vakkennis_click(event) {
$w(“#elerning”).show()
}

export function vakkennis_dblClick(event) {
$w(“#elerning”).hide()

#elearning is a field with the html code

so i think i have to do this complete different ore?