Question

Can we change the background color used for the bars which display on top and below a video, when a video doesn't fit the screen? By default it is a dark gray, which is very distracting.

I tried this to see if it can be changed at all. But it didn't change:

.background {

  background: center no-repeat url(my_background_url)
  background-color: rgb(255, 255, 255);

 ...
}
Was it helpful?

Solution

Adding this to your custom stylesheet will do the trick:

#player video {
    background-color: black;
}

However, I think Google should not set a background-color on the video element (currently #111 I think)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top