Log in or register to post comments

The"Play movie on plane" sample is always failure

March 15, 2012 - 11:04pm #1

Hi, I'm a beginner of the QCAR and Unity3D.
I use the "ImageTargets" sample to build a "Play movie on the palne" project in the Unity3.5,
the steps are:
1.build the ARCamera in the sence
2.add a ImageTarget binded with the "StonesAndChips"
3.drag a plane obeject on the ImageTarget
4.add a Directional light
5.add a movie as the movieTexture on the plane
6.add a javascript on the plane
everystep is correct, and running in the Unity is also no problems, but when I build a .APK, the Unity show two error like this:
1.Assets/WL_PlayScript.js(2,16): BCE0018: The name 'MovieTexture' does not denote a valid type ('not found').
2.Error building Player because scripts had compiler errors

I don't kown what I should to deal with these problems, these problems make me going mad.
Please make as much detailed as possible the answers because im new at Cellphone development!!!)
Thank you very much!

Re: The"Play movie on plane" sample is always failure

March 17, 2012 - 3:27am #5

Thank you stefann!
I'll try it, I hope it can work with you help!
If there is any problem, I hope you can tell more informations about the movie play,thanks!:)

Re: The"Play movie on plane" sample is always failure

March 16, 2012 - 6:32am #4

the fullscreen movie will play in the devices video player so you don't need a plane object. the way to do this is described in the link Russel posted under the iOS and Android section. you basically just have to call iPhoneUtils.PlayMovie if you pack the video with the app or iPhoneUtils.PlayMovieURL for streaming from the web.
make sure that you check the supported file formats!
best,
stefan

Re: The"Play movie on plane" sample is always failure

March 16, 2012 - 5:18am #3

But how can i build the fullscreen movie without the "plane object"?
Can you give me some detail to finish this little project by using the ImageTargets of QCAR's example?
Thank you very much!!!
:)

Re: The"Play movie on plane" sample is always failure

March 16, 2012 - 2:47am #2

"Video playback can only occur fullscreen on iOS and Android devices, playback as a texture on a surface is not supported."

http://unity3d.com/support/documentation/Components/class-MovieTexture.html

Log in or register to post comments