html5 video filter,html - Chrome Html5 video can't display white, has gray background - Stack Overfl...

We have an intro page which plays a html5 video before the main site content is displayed.

The video has a white background so it integrates seemlessly with the page background.

However, in the chrome browser the whole video has a gray background.

Apparently, these questions from 2011 indicate this was/is a bug in chromium. They also state the bug was gone in the latest chrome update. However, I downloaded the latest chrome version, 27.0.1453.110 m, and the problem is still there?

WTqk0.jpg

Does anyone have any solution or workaround for this problem ? ... This bug renders our whole project useless ... It seems unbelievable to me that despite of the html5 hype, chrome can't play whites in videos since 2011 ??

....... EDIT ....................................................

Ok, I've created a jsfiddle project :

http://jsfiddle.net/Ykmya/5/

Uw browser ondersteunt geen html5 video

When viewed with Chrome, you will see the gray background

........ EDIT 2 ..................................................

using pandavengers answer, I added this css, which has an acceptable result :

@media screen and (-webkit-min-device-pixel-ratio:0) {

video{ -webkit-filter: brightness(108.5%); }

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值