title: Video with transparency, how to display alpha channel of webm files correctly on every device; VP9 or VP8 encoding?
body: <p>About how to get a transparent background with a webm video via alpha channel,
  here is one person that says you should encode with VP8 and not VP9.</p>
  
  <p><a href="https://stackoverflow.com/questions/55061630/webm-alpha-only-displayed-in-chrome/56157497#56157497">WebM Alpha only displayed in Chrome?</a></p>
  
  <p>And here is another person who says it's the opposite thing, like it should be VP9 and not VP8.</p>
  
  <p><a href="https://stackoverflow.com/questions/52214886/transparent-webm-video-displays-solid-background-color-on-chrome-for-android-68">Transparent webm video displays solid background color on Chrome for Android 68 on android 9.0</a></p>
  
  <p>Is there a way to make every device display webm files that contain alpha channel correctly?</p>
  
  <blockquote>
    <p>EDIT1:
    HERE ARE SOME TEST RESULTS! I have produced two versions of the same webm file, one with VP8 encoding and another with VP9 encoding. I have run tests to view them on different devices. On a SONY phone (android/chrome 74) the one with VP8 encoding is displayed correctly with a transparent background while the one with VP9 encoding has its background filled with solid black instead of transparent. On a HUAWEI phone (android/chrome 74) it is the exact opposite! The one with VP9 is displayed correctly while the one with VP8 has its background filled with solid black instead of transparent. On an ASUS tablet both the VP8 and VP9 are displayed correctly. On a XIAOMI phone neither VP8 nor VP9 is displayed correctly.</p>
  </blockquote>
  
  <p>EDIT2: Here is a page with some good explanation that I don't fully understand, 
  <a href="https://sites.google.com/a/webmproject.org/wiki/alpha-channel" rel="noreferrer">https://sites.google.com/a/webmproject.org/wiki/alpha-channel</a>
  I'm sure it's all about getting those parameters right to make it work on all android devices. Like the football/soccer player's video on</p>
  
  <p><a href="https://simpl.info/videoalpha/" rel="noreferrer">https://simpl.info/videoalpha/</a></p>
  
  <p>...on my desktop (chorme/windows), on my tablet (chrome/android) and on my SONY phone (chrome/android) both the dancer and the soccer player videos are displayed correctly with a transparent background through alpha channel (which is expected). But on HUAWEI and XIAOMI phones only the football/soccer player video is working as expected while, strangely, the dancer's background is filled with solid gray. How can that soccer player's video work on all android devices; I want my webm files to do the same but don't know how to achieve that.</p>