Skip to content

Type Alias: YoutubePlayerState ​

ts
type YoutubePlayerState = -1 | 0 | 1 | 2 | 3 | 5;

YouTube playback states: unstarted, ended, playing, paused, buffering and cued.