Button to play video in AR

0 votes
asked Oct 8, 2017 by mheruart (340 points)
Hello i want to ask, how can i create a button to control the video? Like play and pause the video when i touch the button.
So that is any button and video that appear when i track the marker, then i can play the video when i touch the button. Thank you

1 Answer

0 votes
answered Oct 8, 2017 by dunielson (240 points)
You can create a canvas that you set your UI buttons on.  When the tracker is activated you enable the canvas and the buttons will appear.  When the tracker is lost you can disable the canvas to hide the buttons.
commented Oct 8, 2017 by mheruart (340 points)
Thank you very much for your answer i will implement it
commented Feb 1, 2019 by peyman (260 points)
Hello,How to create  canvas  in easy ar sample?
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...