I have an HTML page with a section that contains a video background and a smaller video in the foreground. When both videos play at the same time, the Chrome frame rate is exactly half of the normal frame rate (accordingly to dev tools) — that is, FPS drop from 75 (my screen’s refresh rate) to 37.5 (half of 75) — and I can notice both videos start playing a bit jagged.
This doesn’t seem to be something about performance, though. Maybe it is something related to how Chrome renders video? Also, video format doesn’t seem to make any difference, as I tried MP4 and VP9 videos.
Do you know if this is expected behavior on Chrome, and if it can be solved and how? I could manage to change the design in a way that no two videos play at the same time, by pausing the background video while the foreground video plays, but if there is a way to get away with it, I would like to take it.