Log in or register to post comments

Autoplay Multiple videos Simultaneously - VideoPlayback

March 13, 2013 - 5:51pm #1

in the project I'm working on, I'm utilizing AR components to have a fully interactive scene via videos layers to play after a particular trigger image is recognized. However after releasing the commented code to autoplay specific videos, I realized for some reason that there is a restriction on playing multiple videos at once. I tried commenting out all of the 'pause video if another one is active' code (i think i got all of them) however both videos will not play at once. I need 9 videos to play simultaneously. Has anyone gotten this to work? Any help is greatly appreciated!

Autoplay Multiple videos Simultaneously - VideoPlayback

March 14, 2013 - 6:03pm #4

Thank you! It turns out my device actually can't handle playing so many videos simultaneously. I instead found a work around of hiding and animating layers and videos based on the users input to give off the same sort of impression of a seemless task. Thanks to both of you for the assistance!

Autoplay Multiple videos Simultaneously - VideoPlayback

March 14, 2013 - 7:17am #3

https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/sharing-videoplaybackbehaviour-and-loading-runtime  The code in this post has been tested with 4 videos simultaneously and there's no hard limit except for what the device is capable of.

 

Cheers.

Autoplay Multiple videos Simultaneously - VideoPlayback

March 13, 2013 - 6:27pm #2

Be sure that your Max Simultaneous Image Targets value, in the ARCamera Inspector, is set to more than 1. Then comment out the PauseOtherVideos() calls in the HandleTap() method of VideoPlaybackController.cs - this script is attached to your ARCamera. That should enable you to play multiple videos on-texture simultaneously. But I think that you're going to have difficulty getting 9 to run simultaneously, if only because it's typically difficult to track that many targets at the same time. We recommend a max of 5 for reliable detection and tracking.

 

Log in or register to post comments