The new VideoPlayer feature in Unity 5.6 allows you to import and play videos without converting them to another format and attaching them as textures to an object (although you can still attach the videos to objects). You can add a videoplayer by going to GameObject --> Video --> Video Player.
This adds a VideoPlayer component to an empty object, as shown to the left. You can attach a video clip, add audio sources, change playback speed, and even add mesh renderers to play videos on curves and meshes.
Using scripts to manipulate videos is easier with the introduction of the Video Player feature. First of all, you need to import the UnityEngine.Video library, and then declare the GameObject which has the video, and its Video Player component itself:
Next, in your Start() function, you need to assign the two variables you declared above to the GameObject and its Video Player component.
You can now easily manipulate the video by accessing the class and methods of videofile. Here are some examples of commands:
You can learn more about the Video Player and its functions and methods here
Two roads diverged in a wood, and I--