From 392850a23f4f934808c41e1aee9e623756a6ca05 Mon Sep 17 00:00:00 2001 From: FranciscoBNexplayer <52272040+FranciscoBNexplayer@users.noreply.github.com> Date: Fri, 17 Jun 2022 14:03:32 +0200 Subject: [PATCH] Added ChangeVideoContent() function --- unity.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/unity.md b/unity.md index 836e3cf..72b6244 100644 --- a/unity.md +++ b/unity.md @@ -733,6 +733,10 @@ Playback control methods inherited from NexPlayerBehaviour: This method ends all the work on the content currently open and terminates the SDK work. The content must be stopped before calling this method. The correct way to finish playing content is to either wait for the end of content or to call stop and wait for the stop operation to complete, then call close. +- **public void ChangeVideoContent()** + + This method closes the video content currently playing, and opens the new URL provided as a parameter. + # 9. Events The NexPlayer™ SDK provides a list of virtual methods which begin with “Event”. These allow you to provide custom behaviour to answer any NexPlayerEvent.