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 play/pause button #3

Open
hokaso opened this issue Jun 5, 2023 · 3 comments
Open

add play/pause button #3

hokaso opened this issue Jun 5, 2023 · 3 comments

Comments

@hokaso
Copy link

hokaso commented Jun 5, 2023

Hello, are there any plans to add a play/pause button? If not, I will submit the PR~

such as:

image
image

@hokaso
Copy link
Author

hokaso commented Jun 6, 2023

This is my edited version: https://github.com/Uni-Gal/fork-flet_ived/tree/no-audio

@SKbarbon
Copy link
Owner

SKbarbon commented Jun 7, 2023

Hey @hokaso ,
The problem is that its uses two separated package to load the audio and to load the video. One of tha packages does not support customizing the duration of the audio. The VideoContainer actually provides a play/puase functions, but the play function make it rePlay the video. So I think such a capability we must wait for flet to support it natively.

@hokaso
Copy link
Author

hokaso commented Jun 7, 2023

Hey @hokaso , The problem is that its uses two separated package to load the audio and to load the video. One of tha packages does not support customizing the duration of the audio. The VideoContainer actually provides a play/puase functions, but the play function make it rePlay the video. So I think such a capability we must wait for flet to support it natively.

Indeed, although my version allows us to play the video again from the suspended time point, it removes the audio-related ability. However, it meets my current business needs. Thank you very much for providing flet_ived, which you released in the community, is very helpful~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants