From ecf3d3fd8443fb863d145a93f3dba771809f1f85 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Sat, 18 Jan 2020 21:51:17 +0800 Subject: [PATCH] Improves VideoPlayer's documentation --- doc/classes/VideoPlayer.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/classes/VideoPlayer.xml b/doc/classes/VideoPlayer.xml index 804489f7f12..3ed53aa4478 100644 --- a/doc/classes/VideoPlayer.xml +++ b/doc/classes/VideoPlayer.xml @@ -13,7 +13,7 @@ - Returns the video stream's name. + Returns the video stream's name, or [code]"<No Stream>"[/code] if no video stream is assigned. @@ -28,20 +28,22 @@ Returns [code]true[/code] if the video is playing. + [b]Note:[/b] The video is still considered playing if paused during playback. - Starts the video playback. + Starts the video playback from the beginning. If the video is paused, this will not unpause the video. - Stops the video playback. + Stops the video playback and sets the stream position to 0. + [b]Note:[/b] Although the stream position will be set to 0, the first frame of the video stream won't become the current frame.