Optimize animations for Chromecast #505
Labels
platform: Cast
Issues affecting Cast devices
priority: P3
Useful but not urgent
status: archived
Archived and locked; will not be updated
status: will not implement
The team chooses not to implement this enhancement
type: enhancement
New feature or request
The buffering spinner is today based on SVG + CSS3 animation. It appears to perform poorly on Chromecast. Visually, it is not animating smoothly.
I have tried a few alternatives, but it is not yet clear if the spinner itself is fully to blame. Before we go further on creating a new spinner, we should do a quantitative analysis of the performance issues we're seeing.
Here are some ideas here that may be useful once we have some baseline data:
The G+ post suggests that the idle card may influence performance even while hidden. The HTML5 Rocks article suggests that we should avoid animating colors. Both articles recommend against the use of shadows.
Here are some open-source CSS spinners: https://github.com/lukehaas/css-loaders
Many of these use shadows, but if we relax the author's single-div requirement, some of them can be done with background colors and transforms.
The text was updated successfully, but these errors were encountered: