When i scan my Targets to play video using handheld function!!
my script:
using UnityEngine;
namespace EasyAR
{
public class EasyImageTargetBehaviour : ImageTargetBehaviour
{
public string url;
protected override void Awake()
{
base.Awake();
TargetFound += OnTargetFound;
TargetLost += OnTargetLost;
TargetLoad += OnTargetLoad;
TargetUnload += OnTargetUnload;
}
void OnTargetFound(TargetAbstractBehaviour behaviour)
{
Debug.Log("Found: " + Target.Id);
//Application.OpenURL (url);
Handheld.PlayFullScreenMovie (url);/Handheld
}
Error:1.video playing after 3rd time scanning
How to do video play in single scan!!!