- Home /
About Handheld.PlayFullScreenMovie()
I'm working with Unity PRO 3.5.6f4, and want to display a pair of videos. When the platform is PC/Mac, I use a MovieTexture, but iOS/Android doesn't support them. To play videos in those platforms there's the Handheld.PlayFullScreenMovie() function, but I've some troubles... I created a folder in Assets named StreamingAssets, but...
I can't see any video, and the path is correct. I haven't tried it on any mobile device yet, just on the Unity Editor. I supposed it does, but does Unity Editor supports this function to test it?
The video has an audio attached, but I can't edit its settings to convert it to a 2D sound. When I use a MovieTexture, the audio source it's attached to the plane where the video will be displayed, but how can I play that sound when I'm using a Handheld.PlayFullScreenMovie()?
Which is the best settings for a video to be displayed on mobile devices? My video is 1280x720 and H264 compressed .mov. Works fine as a MovieTexture, but don't know yet how would it be on an iPad
Thanks in advance!
Answer by smilelance · Apr 17, 2013 at 08:25 AM
1\You will have to create a folder named StreamingAssets inside your Unity project (inside your Assets folder). Store your movies inside that folder. Unity will automatically copy contents of that folder into the application bundle.
2\ For movie files, this typically means files with the extensions .mov, .mp4, .mpv, and .3gp and using one of the following compression standards:
H.264 Baseline Profile Level 3.0 video, up to 640 x 480 at 30 fps. Note that B frames are not supported in the Baseline profile. MPEG-4 Part 2 video (Simple Profile).
Your answer
![](https://koobas.hobune.stream/wayback/20220613095612im_/https://answers.unity.com/themes/thub/images/avi.jpg)