And I edited some sample videos and then made it have transparent background. When I play it with VideoView or TextureVideoView, both shows messy grey background. However, when I tested it on the sample site(https://simpl.info/videoalpha/), the background is very clear as I expected.
And I checked the CSS property, and it has this properties.
video#video1, video#video2 {
-moz-animation-duration: 3s;
-ms-animation-duration: 3s;
-o-animation-duration: 3s;
-webkit-animation-duration: 3s;
animation-duration: 3s;
background: transparent;
position: absolute;
}
As you can see, it has background: transparent; value. So, I wanted to try to give the views the transparent background. However, the XML can't set background attribute for the two Views.
So, I tried it programatically, and it also had a problem. Is there any way to set the background color? or remove the grey background?