Start a new topic

How to play a VideoDrawable by a Timer?

How to play a VideoDrawable by a Timer?

I want to play a video after a few minutes, how to do it?


As this is not directly related with the Wikitude SDK product but it is more of a feature you wish to add in your app, this is something that you need to define from your side on your part of the code. You will find a lot of information on how to start a video playing after some minutes using javascript.




in javascript, you can use a timeout function, example: 


    setTimeout(function() {

               AR.logger.debug('now in timeout function, start the video in x milliseconds ');

// your code to start the video goes here. 

               }, 500); // start after 500 milliseconds



Login or Signup to post a comment