Could we add an option on videostreamplayer to make it can pause video when the video finished? #10420
Sasinim5
started this conversation in
Engine Core
Replies: 1 comment 5 replies
-
Doesn't video playback already pause when finished unless you enabled Loop? Or do you want the last frame to remain visible instead of a black screen? I suppose you could work this around by taking a screenshot of the last video frame, adding the image to your project, and putting a TextureRect with this texture as the parent node of your VideoStreamPlayer (so it'll show once playback is done). |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since Godot script can not get the video length. If the videostreamplayer can pause the video when finished, we can do anything with video since it paused. at the same time, we know the video length via update steamposition in process thread.
Beta Was this translation helpful? Give feedback.
All reactions