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
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
- GeoTiff Importer & Terrain Generator for Unity
- Create Baked DropShadow for UI images
- .JP2 Ortho Image Converter to PNG/JPG/TIFF
- Convert LAS/LAZ/PLY pointclouds to GLTF (GLB) Point Meshes (standalone converter)
- Detect SRP (URP or HDRP) with Assembly Definition Version Defines
- [LudumDare57] Theme: Depths
- MotionVector Effect: Object “disappears” when paused
Recent Comments
- on [Asset Store] PolygonCollider2D Optimizer
- on Trajectory Test Scene 2.0
- on Vector3 maths for dummies!
- on UnityHub 3.6.0: Remove Version Control & Cloud Dashboard columns
- on Using RenderDoc with Unity (graphics debugger)
- on UI Scroll View automatic Content height
- on [Asset Store] Point Cloud Viewer & Tools
- on [Asset Store] Point Cloud Viewer & Tools
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by












