(key: keyof PlayerState, value: any)
| 166 | |
| 167 | // update state |
| 168 | const updateState = (key: keyof PlayerState, value: any) => { |
| 169 | state[key] = value as never |
| 170 | options.onUpdate(key, value, { ...state }) |
| 171 | } |
| 172 | |
| 173 | // playing state https://github.com/videojs/video.js/issues/181 |
| 174 | // un-loop: play > playing > pause > ended |
no outgoing calls
no test coverage detected