javascript - HTML5 Video as Background leaving HTML artifacts on window resize -


I have an HTMLX video, which is running as a background image with a z-index of -1000 . I have some HTML elements that have said about Zee-index: 0. Whenever the window is resized, HTML artworks are skipped, which are not far off until the page refreshes. There seems to be a problem with the renderer layer, but I can not understand it. What is the suggestion?

Here's a picture of what's happening:

Enter the image Please describe here

Gray pieces should not be there.

Editing: has been tested on webkit yet.

HTML5 video element at the end of the body and it oddly fixed the issue.

Comments