public void PauseVideo() { if (ytdlPlayer.Pause()) { isVideoPlaying = false; ToggleVideoPlayButton(); } }