1

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.

Jonas
  • 147
  • 1
  • 7
Usman Kurd
  • 7,212
  • 7
  • 57
  • 86

2 Answers2

3

Yes i`ve done it already and its working perfectly fine and change the things according to my scenario

Usman Kurd
  • 7,212
  • 7
  • 57
  • 86
  • 2
    Rather than giving answer that you implemented this functionality, can you better explain how did you make this work? – P.J Mar 19 '13 at 14:13
2

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.

mrYogi
  • 992
  • 2
  • 9
  • 29