Log in or register to post comments

Making the video playback sample app dynamic

April 15, 2013 - 11:36am #1

We have developed an app based on the sample video playback app.We have changed the images and the videos and the app is reasy to be deployed.But we are stuck with a question that if we have to add new targets or videos then do we have to change the code once again.But doing that would require reinstalling the app.Is there any possible solution for the same.

Making the video playback sample app dynamic

July 16, 2015 - 12:52am #6

I tried the way you said but the URL is not working if i give it inside the script. It works fine only if i give thr URL within the Inspector. Can u please help me with the piece of code to link the metadata from the SimpleCloudHandler with the VideoPlaybackBehaviour.

Making the video playback sample app dynamic

December 21, 2014 - 11:24pm #5


Even i am looking forward make my app dynamic in behaviour as i have to upload more than 10 images and videos in the app . I also want to be able to change them at any point of time . In this case i can provide the video URL which would be my own server in the metadata.I'd be greatfull if anyone let me know how and where the changes are required in order to acheive this .

Making the video playback sample app dynamic

October 28, 2014 - 2:48pm #4
This implementation is perfect for my project, but I do not understand if the VideoPlaybackBehaviour put the url of the video, which would force me then updated the app, and do not want this, I just want to change the target, and metadata in the cloud. I want to know what is the process to establish this implementation.


Making the video playback sample app dynamic

April 15, 2013 - 11:48am #3


if you don't know in advance what are the image targets that you will need to use in the future, then one good option could be to consider using Cloud Databases (instead of Device Databases) and develop your App using the Cloud Recognition feature (see also our CloudRecognition sample);

using Cloud Reco, you don't need to package the Dataset with the App, so you can recognize even thousands of different image targets that would be stored on your Cloud Database (accesible through the network); this means that you could just update the targets in your Cloud Database, without having to rebuild the App.

The advantage of using Cloud Databases, is also in the fact that you can associate some "metadata" to each of your targets; a metadata can be a simple text blob (a string) that you can retreieve in your application (when the target is recognized) and that you can use pretty much the way you want;

specifically, for your use case, you could simply put a video URL in the metadata; for example, you could point to some videos stored on a remote server;

in practice, when a target is recognized, the metadata would provide you with the video URL; then you could use such URL to play the video from the network.

So, Cloud Recognition would fit very well with your application scenario, I believe.



Making the video playback sample app dynamic

April 15, 2013 - 11:44am #2

It's possible to download new target datasets and also videos to the device, and to load and activate these at runtime. This is how you can version your targets and media without requiring a new app install.

Here are some threads that address how to accomplish dataset loading - https://developer.vuforia.com/search/apachesolr_search/load%20dataset%20SD?filters=entity%3Anode+ss_node_type%3Aforum


Log in or register to post comments