VideoPlayer.splaying

while (videoPlayer.isPlaying)
{
    yield return null;
}

//Done Playing
Cotton Candy Lover