public virtual void OnPointerClick(PointerEventData eventData) { if (currentButtonFunction == buttonFunction.play) { theVideoController.PlayVideo(); } else if (currentButtonFunction == buttonFunction.pause) { theVideoController.PauseVideo(); } else if (currentButtonFunction == buttonFunction.skipBack) { theVideoController.SkipBack(5); } else if (currentButtonFunction == buttonFunction.increaseSpeed) { theVideoController.IncreasePlaybackSpeed(); } else if (currentButtonFunction == buttonFunction.skipForward) { theVideoController.SkipAhead(5); } else if (currentButtonFunction == buttonFunction.decreaseSpeed) { theVideoController.DecreasePlaybackSpeed(); } }