handheld error in easyar?

0 votes
asked Oct 26, 2017 by selvapandi63 (180 points)

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!!!

1 Answer

0 votes
answered Oct 26, 2017 by albert52 (31,850 points)

Hi,

Because you're using a URL, loading speed may be related to your network.

Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...