I want to get video link from metadata associated with an image target that i have uploaded in the Vuforia cloud database.
When I give direct link manually, the video is streamed and played directly from that link. but when I set this to get video from metadata, my application crashes. I want my video to get direct streaming from link given in metadata. I do not want to download the video in my application.
I have gone through all related threads on the forums as well but did not get any help.
this is a portion of my code:
I get metadata as:
if (finder.getResultCount() > 0)
{
TargetSearchResult result = finder.getResult(0);
metaResult = result.getMetaData();
Toast.makeText(this, metaResult, Toast.LENGTH_LONG).show();}
mMovieName[one] = metaResult;
^here my application crashes.
but It works perfectly fine If I give same link as mMovie[one]="http://techslides.com/demos/sample-videos/small.mp4";
Looking forward to your reply