HTML5 video background color not matching background color of website — in some browsers, sometimes

后端 未结 7 1989
[愿得一人]
[愿得一人] 2020-12-14 07:02

I have a video that the client wants to sit \"seamlessly\" in the website. The background HEX color of the video matches the HEX background color of the website, and renders

相关标签:
7条回答
  • 2020-12-14 08:03

    I feel the proper solution here is to film using a green screen (which you probably already did) and use

    1. Transparant webm video or
    2. Replace green pixels with transparant ones using javascript canvas

    An example of transparant video can be found here: https://jakearchibald.com/scratch/alphavid/

    0 讨论(0)
提交回复
热议问题