From 29ad0b23e4fe049709dc39a025f25c262c6b6975 Mon Sep 17 00:00:00 2001 From: Stiven Arias Giraldo <47497948+StAincrad@users.noreply.github.com> Date: Thu, 25 Jan 2024 10:10:34 +0100 Subject: [PATCH] Update hisplayer-api.md --- hisplayer-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hisplayer-api.md b/hisplayer-api.md index e62ede5..24f49a4 100644 --- a/hisplayer-api.md +++ b/hisplayer-api.md @@ -363,10 +363,10 @@ Modify the volume of a certain stream giving a **playerIndex**. The **volume** o Call this API after having interaction with the web page/screen, otherwise audio will not play on WebGL due to browser autoplay policy. #### protected void ChangeVideoContent(int playerIndex, int urlIndex, int resumePosition = 0, AdsProperties ads = null) -Change the video’s URL of a certain player. The **playerIndex** is associated with the index of the element of **Multi Stream Properties**, e.g. the index 0 is the element 0 in the list. The **urlIndex** is associated with the index of the element in the list of URLs. The **resumePosition** is time position in second (s) where the new content is starting the playback, default value is 0. The **AdsProperties** is an ads properties to use when loading the new content, default value is null. +Change the video’s URL of a certain player. The next playback will start paused if **autoPlay** is disabled. The **playerIndex** is associated with the index of the element of **Multi Stream Properties**, e.g. the index 0 is the element 0 in the list. The **urlIndex** is associated with the index of the element in the list of URLs. The **resumePosition** is time position in second(s) where the new content is starting the playback, default value is 0. The **AdsProperties** is an ads properties to use when loading the new content, default value is null. #### protected void ChangeVideoContent(int playerIndex, string url, int resumePosition = 0, AdsProperties ads = null) -Change the video’s URL of a certain player given a new URL. The **playerIndex** is associated with the index of the element of **Multi Stream Properties**, e.g. the index 0 is the element 0 in the list. The parameter **url** is the link to the new video. Please, make sure the new URL is correctly written. The **resumePosition** is time position in second (s) where the new content is starting the playback, default value is 0. The **AdsProperties** is an ads properties to use when loading the new content, default value is null. +Change the video’s URL of a certain player given a new URL. The next playback will start paused if **autoPlay** is disabled. The **playerIndex** is associated with the index of the element of **Multi Stream Properties**, e.g. the index 0 is the element 0 in the list. The parameter **url** is the link to the new video. Please, make sure the new URL is correctly written. The **resumePosition** is time position in second(s) where the new content is starting the playback, default value is 0. The **AdsProperties** is an ads properties to use when loading the new content, default value is null. #### protected long GetVideoPosition(int playerIndex) Provides information about the timeline position in milliseconds, of the current video of a certain player. The playerIndex is associated with the index of the element of Multi Stream Properties, e.g. the index 0 is the element 0 in the list.