Start and Stop a Video

Start and Stop a Video

Topic Progress:

Controlling the Video

On a smartphone a user interaction to trigger the video is required. First we place the assets, the video and a start and stop object:

Then we need Javascript to control everything:

Video Event ended

When the video is not looped

it is possible to listen to an ended event:

Download the finished example.

 

 


Comments are closed.