@param {boolean} isPlaying
(isPlaying)
| 846 | |
| 847 | /** @param {boolean} isPlaying */ |
| 848 | function toggleAnimation(isPlaying) { |
| 849 | video.mutateElementSkipRemeasure(() => |
| 850 | animation.classList.toggle('amp-video-eq-play', isPlaying) |
| 851 | ); |
| 852 | } |
| 853 | |
| 854 | const unlisteners = [ |
| 855 | listen(element, VideoEvents_Enum.PAUSE, () => toggleAnimation(false)), |
nothing calls this directly
no test coverage detected