Start a new topic

Problems with showing many videos

Problems with showing many videos


Hi Viktor,

 

The code snapshot seems alright, so have you checked the video? Was it created according to the specifics mandated by the Wikitude SDK?

You can switch the two videos to see if the second video plays OK set against the first target.

Hello,

I need to show many videos on recognised images. It works with the first pictures, but after it, there are only a black rectangle and sound, but I can't see the video. I would stream the videos, but it is very slow. Could you help me how I can solve it? How can I load the videos only if Trackable2DObjects onEnterFieldOfVision runs?

Thanks

Viktor

var World = {
loaded: false,

init: function initFn() {
this.createOverlays();
},

createOverlays: function createOverlaysFn() {

this.tracker = new AR.ClientTracker("assets/tracker.wtc", {
onLoaded: this.worldLoaded
});

var video21 = getVideo("http://...", 2.49, 0, 0, 0);
var p21 = getTrackableObject(this.tracker, "imageName1", );

var video22_1 = getVideo("http://...", 2.49, 0, 0, 0);
var p22 = getTrackableObject(this.tracker, "imageName2", );

...

}

 

 
Login or Signup to post a comment