Start a new topic

autotrigger action when IR

autotrigger action when IR

Hi,
We will look into the startvideo player problem and I'll get back to you once I know more.
This is how I use the video player:

function createTracker()
{
var horseImageResource = new AR.ImageResource("horse.png", {onError: error});
var horseImageDrawable = new AR.ImageDrawable(horseImageResource, 1.0, {zOrder: 0});
// create tracker trackerDataSetPath = "Tracktable.zip";tracker = new AR.Tracker(trackerDataSetPath, { onLoaded : trackerLoaded, onError: error });
AllTrackable2DObjects = new AR.Trackable2DObject(tracker, "horse", { drawables: { cam: horseImageDrawable }, onEnterFieldOfVision: showHorseVideo});
}

function showHorseVideo()
{
AR.context.startVideoPlayer("horse.mp4");
}




Loading ...

createTracker();



Do I need to add anything else ?

thanks.
Hi,

just want to let you know that we found the issue and that it will be fixed in the next maintenance update. If you have an urgent buisness need that requires the fix please send us an email at info@wikitude.com.
Login or Signup to post a comment