private void OnPlayerPrepareCompleted(YTDLPlayerBase player) { // jump video to position if (isVideoJumping) { CalcProgressSimpleValue(); JumpVideo(); } }
private void OnPlayerStarted(YTDLPlayerBase player) { loadingCircle.SetActive(false); isVideoJumping = false; MediaInfo videoInfo = ytdlVideoPlayer.GetVideoInfo(); // update video title videoTitle.SetText(videoInfo.title); // update quality button UpdateQualityButton(); // toggle play button playButton.Toggle(); }
private void OnParseStarted(YTDLPlayerBase player) { loadingCircle.SetActive(true); }