We have a feature to check the movie's FPS, and pause it if it gets too low, as a guard against especially low-performance movies. But this was triggering in an *expected* case, where browsers intentionally throttle interval events when a page is in the background (e.g. you switch to another tab). Now, our rendering is aware of page visibility: when the page is hidden, don't bother rendering, and keep resetting the FPS counter state, so that we can pick up with a fresh FPS counter when the page comes back. |
||
|---|---|---|
| .. | ||
| assets | ||
| controllers | ||
| helpers | ||
| javascript | ||
| mailers/fundraising | ||
| models | ||
| services | ||
| views | ||