Effect:
We need two prefabs , one BG , which plays the video process animation, and one Login , which is the login interface.
1: This BG itself is a RawImage
Drag the video directly into it and you will have this component
Note: It can be in URL format
This address is the video address of the server folder
eg:Http://127.0.0.1:3002/First666_Bate/China.mp4
It can also be a video file directly
2. Create a new Texture
Adjust pixels according to screen size
3. Drag and drop under the component
4. Just put the Login prefab under bg.
5. Run and it will play