Gets the background color of the video viewer. It is a value specifying the 32-bit RGBA value.



Return value


If it fails to get the background color, it returns null.


Default is transparent (0x00000000). The byte-ordering of the 32-bit RGBA value is RRGGBBAA. RR represents red, GG represents green, BB represents blue, AA represents opacity, ranging from 0 to 0xFF. 0 is transparent, 0xFF is non-transparent.
In the browser, opacity ranges from 0 to 1. We will convert it automatically, therefore, sometimes the value you get after setting it might be slightly different.

See also


Is this page helpful?

Leave a Reply

Your email address will not be published.