Home > other >  Unity android play video
Unity android play video

Time:09-16

Greatly, please help unity export android, run time broadcast video, handheld can only play a full screen video, multiple video how to do it, please grant instruction, the feeling is not

CodePudding user response:

Looking for plug-ins such as Mobile Movie Texture, etc

CodePudding user response:

AVpro can try this plugin

CodePudding user response:

Video is not to add material objects, multiple video is to give the different objects with different capable person to go?
 public MovieTexture MovieTexture; 
Private MeshRenderer Mr;
//Use this for initialization
Void the Start () {
Mr=GetComponent (a);
Mr Material. MainTexture=movietexture;
Movietexture. Loop=true;
Movietexture. Play ();
}

CodePudding user response:

Generating material, upstairs to the code,,,

CodePudding user response:

I can say no complete solution?

Can use EasyMovieTexture, USES the hard way to broadcast video solution, the principle is the use of the Android MediaPlayer and convey the streaming video texture to unity,
If performance is slag can play most of the machine, but part of the pit force machine does not support hardware solution will not play video,

MMT can also be used, but is soft solution, in the low-end machine or the use of high resolution video gets slides,

CodePudding user response:

Use the plug-in to play video, such as Mobile Movie Texture, EasyMovieTexture.

Or upgrade unity5.6, added new VideoPlayer function, add VideoPlayer components to the object directly, can play,

CodePudding user response:

MovieTexture mode can be used in the android?

CodePudding user response:

refer to 7th floor qq_43127603 response:
MovieTexture mode can be used in the android?
can't use
  • Related