Embedding and controlling Video in scenes/ HELP

video

(Oemer Enrique Erol) #1

Sorry for asking this, i suggest its been asked a million times but i cant find a solution.

I just want to embed video to my scenes, every time i loading this scene ( going back to mainpage etc…)
the video plays from the same time (almost).

I want the video start again from the beginning.

its going to be a type of Touch-Info App for showing the clients videos on a fair.

Please help anyone,
make my day,
save me from a lot of stress :slight_smile:

Erol


(Hans-Gerd Claßen) #2

on sceneunload run

var videoElementOnScene = element.querySelector('video');
videoElementOnScene.pause();
videoElementOnScene.currentTime = 0;