Start a new topic

Multiple Videos play in Multiple Images

 Hello Sir ,

I have a Question, We are trying to Upload the 5 images and their corresponding 5 videos and we get the 1 .wtf file for the 5 images and videos and this file we are using in my code but only single video is playing  for the 5 images How can i manage the 5 videos for 5 images in my code. Please Help


Divyansh Sharma

Hello Divyansh,

You could refer to this documentation section here, but instead of having an ImageDrawable as an augmented object you would need to specify a VideoDrawable instead.



Helllo ,

I am using the following Sample Code :
this.tracker = new AR.ClientTracker("assets/", {
            //    onLoaded : this.worldLoaded
        var video = new AR.VideoDrawable("assets/Tharawat Seas (app Vid)-1 (640 - 360).mp4", 0.40, {
            //    offsetY: -0.3,
            offsetX : 0.015,
            offsetY : 0.015

        var pageOne = new AR.Trackable2DObject(this.tracker, "*", {
            drawables : {
                cam : [video]
            onEnterFieldOfVision : function onEnterFieldOfVisionFn() {



In the code you pasted above you specify only one image target. As I mentioned before, please refer to the document link I provided. These are basics things that are covered in our documentation here. So I would suggest, before you start coding, that you have a look at our documentation in order to understand how it works.



1 person likes this
Login or Signup to post a comment