Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add loop property to VideoStreamPlayer #77857

Conversation

kinami-imai
Copy link
Contributor

@kinami-imai kinami-imai commented Jun 4, 2023

Part of a group of three PRs (#77856 #77857 #77858) that solve godotengine/godot-proposals#264.

Currently, the only way to get a VideoStreamPlayer to loop, is by connecting the on_finished signal to the play() function. This can be confusing for new users unfamiliar with signals and buries a feature that is commonly used behind a number of clicks. This PR creates a new toggle to enable looping on VideoStreamPlayer nodes. The effect is identical as connecting the signal, the change is only for making the UI more intuitive.

@kinami-imai kinami-imai force-pushed the add_loop_property_to_videostreamplayer branch from c4ea2af to 15719e2 Compare June 5, 2023 19:38
@kinami-imai
Copy link
Contributor Author

Force pushing to make changes based on reviews by @anvilfolk and @KoBeWi.

@YuriSizov YuriSizov modified the milestones: 4.x, 4.2 Jun 6, 2023
@YuriSizov YuriSizov changed the title Add loop property to VideoStreamPlayer Add loop property to VideoStreamPlayer Jul 12, 2023
@YuriSizov YuriSizov merged commit 216aa45 into godotengine:master Jul 12, 2023
@YuriSizov
Copy link
Contributor

Thanks!

kinami-imai added a commit to kinami-imai/godot-docs that referenced this pull request Sep 28, 2023
Since godotengine/godot#77857 is merged and will be released in 4.2, it would be great to update the documentation.
kinami-imai added a commit to kinami-imai/godot-docs that referenced this pull request Sep 29, 2023
Since godotengine/godot#77857 is merged and will be released in 4.2, it would be great to update the documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants