()
| 161 | // animatePlayback displays an animation when |
| 162 | // the video is played or paused |
| 163 | function 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 |