New Ideas of playing transparent videos by Unity and new ideas of unity videos
Unity 2017.2
We do not know from that version that unity has supported Google's webm format. This format supports videos with alpha channels, that is, transparent videos.
First, you need to make a transparent video. in AE, you can export videos with transparent channels, such as AVI and MOV.
But I don't know why an error occurs when converting to webm. I may solve this problem in the future.
The alternative method is to export the sequence frame and convert it to webm through ffmpeg.
Ffmpeg-I just d.png-c: v libvpx-metadata: s: v: 0 alpha_mode = "1"-auto-alt-ref 0 B. webm
The forward d.png refers to a sequence frame image named only numbers, such as 1.png and 2.png. Then B. webm is the exported file.
Then you can import it to Unity.
Pay attention to the sprite size. It is best to put a picture on it first to see the size.