MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / animatePlayback

Function animatePlayback

assets/js/video.js:163–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161// animatePlayback displays an animation when
162// the video is played or paused
163function animatePlayback() {
164 playbackAnimation.animate(
165 [
166 {
167 opacity: 1,
168 transform: 'scale(1)',
169 },
170 {
171 opacity: 0,
172 transform: 'scale(1.3)',
173 },
174 ],
175 {
176 duration: 500,
177 }
178 );
179}
180
181// Change Playback Speed -------------------- //
182

Callers 1

keyboardShortcutsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected