Covered in this doc
How Percy handles videos for stable screenshots
Handling video tags
This document describes how Percy handles videos in rendering.
There are two popular ways of video play over the web
<video> elements will be frozen and shown the video's static thumbnail. This makes it stable for visual testing.
If you use
To handle freezing in Percy screenshots for
video.play(), we recommend the following options:
- Use Percy specific CSS to hide or blank out the video element.
- In test environment, play blank videos so that screenshots are consistent when taken.
Updated about 1 month ago