D
D
Dymok2020-10-01 19:44:02
Google Chrome
Dymok, 2020-10-01 19:44:02

Green background when loading video in chrome?

When loading a page with a background video in Chrome, a green background appears for a fraction of a second. In firefox, for example, it is not.
https://i.imgur.com/feULLuJ.mp4
I output the video like this:

<video autoplay loop muted poster="video-poster.jpg" id="slider-bg-video" >
  <source src="css/images/test-bg.mp4" type="video/mp4">
</video>

What could be the problem?

Poke - https://video.pdymok.ru/
(perhaps the problem will only appear during a few page updates using Ctrl + F5)

and a third-party example in general - https://sitehere.ru/examples/06/30/2015/index. html
same issue in chrome, green background visible on page load/refresh

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rhjgfkm, 2020-10-14
@rhjgfkm

I noticed that only .MP4 has it. Try converting the video to another format, for example .WEBM background disappears.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question