I want to play video automatically when device detects a marker.
How can I achieve this functionality? I’m using Vuforia SDK and VideoPlayBack tutorial.
I want to play video automatically when device detects a marker. How can I
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In VideoPlayBack sample :
If you would like the video to start playing as soon as it starts tracking and pause as soon as tracking is lost you can do that by commenting the for-loop in VideoPlaybackRenderer.java in method onDrawFrame and instead checking whether the isTracking() value has changed since the last frame.
.
Notice that you need to be careful not to trigger automatic playback for fullscreen since that will be inconvenient for your users.