By Kamlameet
on Thu, 09/20/2012 - 13:46
I am exploring the sample app for VideoPlayback on android. How can I trigger the video play automatically instead of clicking on the video frame?
Also what all video/ animation formats are supported?
VideoPlayback sample, running the video's automatically
The Auto Play behavior is defined using the mShouldPlayImmediately boolean in the VideoPlayerHelper , see line 57 for the default.
VideoPlayback sample, running the video's automatically
Hi David, Thanks for the quick reply.
I am not able to make the autoplay work by removing mShouldPlayImmediately flag or stting by default true. I could see the flag was used only at
VideoPlayback sample, running the video's automatically
Was able to achieve the effect finally
In the VideoPlayBackRendere.java File, we already had a hint
VideoPlayback sample, running the video's automatically
Hi,
I commented the code according to the last post and it works. However at the same begining when the target is catched the play button appears for a moment. How can I avoid that?
Thanks
VideoPlayback sample, running the video's automatically
Following this guy: https://developer.vuforia.com/forum/android/video-not-pause-due-automatic-playing&sort=2
And you can make it auto play.
Did anyone figure out how to
Did anyone figure out how to lose the play sign? The video starts automatically, but always shows the play sign.
sbeck27 wrote:
[quote=sbeck27]
Did anyone figure out how to lose the play sign? The video starts automatically, but always shows the play sign.
[/quote]
You can remove that element from the Hierarchy in Unity to stop it from displaying.
Thanks,
Vuforia Support