Hi , here is my problem , i want to play an video by augmented reality with videoplayback ....
So here what i've done :
1) i put an AR camera
2) i put An image target ( i've done other project on vuforia for android before so i know how to get it work )
3) i import an .mp4 in unity and use these 2 type of code
a ) var mov: MovieTexture = renderer.material.mainTexture;
I try this too cause i found on some unit forum that MovieTexture seems to not work on Android .....
But with this B) code , my video doens't launch ... don't understand why .
i put my .mp4 in StreamingAssets/QCAR/video.mp4
hi corentin,
I think Alessandro answered the same question here:
https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/defining-path
...reproduced below for convenience.
N
Hi,
File is called EE_Full.mov and in the streamingassets folder so i have "StreamingAssets/EE_Full.mov"
if the file is "StreamingAssets/EE_Full.mov", then you should put just "EE_Full.mov" in the Path box
(please read again carefully my previous message)