13
2015
Playing FullScreen Video in Mobiles
Trying to publish scene to mobiles with MovieTexture?
Error will come up: (movie texture is not supported in mobiles)
“error CS0246: The type or namespace name `MovieTexture’ could not be found. Are you missing a using directive or an assembly reference?”
Solution:
Use this free example package: “Simple Movie Player” https://www.assetstore.unity3d.com/#!/content/34959?aid=1101lGti
It uses Handheld.PlayFullScreenMovie() -> http://docs.unity3d.com/ScriptReference/Handheld.PlayFullScreenMovie.html
Read the notes from docs:
– You will have to create a folder named StreamingAssets inside your Unity project (inside your Assets folder). Store your movies inside that folder
– Calling this function will pause Unity during movie playback. When playback finishes Unity will resume (its separate videoplayer)
Related Posts
Leave a comment
Recent posts
- Adding Real World Location to Ice Fishing Prototype
- [web tool] Image Channel Inspector : AlphaScope
- Editor Tool: Smart Recompile (don’t recompile if edit comments)
- Editor Tool: Scene Size Analyzer
- LudumDare 60: Old Tech
- uBasic Scripting Language for Unity
- GreaseMonkey+Editor Plugin: 1-Click Copy script from ChatGPT (Web) to Unity Editor (as script)
- Editor Tool: Property Watcher
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
Recent Comments
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by












