from this playground file https://www.babylonjs-playground.com/#W2DP7F#3
i managed to add 'click to play' poster frame
and made a toggle bit:
scene.onPointerUp = function() {
if (videoTexture.video.paused === true){
videoTexture.video.play();
} else {
videoTexture.video.pause();
}
but now i wonder how to add the eventListener("onended") and set currentTime to 0 again AND show the posterFrame.
Any ideas?