iOS

Detecting changes in YTPlayer library

Posted on:

Recently I noticed this may not be such obvious, but if you need to know when user pauses video or resumes playback, just use: – (void)playerView:(YTPlayerView *)playerView didChangeToState:(YTPlayerState)state; […]