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

Total Video Duration [FEATURE REQUEST] #642

Closed
naaera opened this issue May 13, 2022 · 1 comment
Closed

Total Video Duration [FEATURE REQUEST] #642

naaera opened this issue May 13, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@naaera
Copy link

naaera commented May 13, 2022

Hello,
Is Possible to get total video duration ?

Thank you in advance

@naaera naaera added the enhancement New feature or request label May 13, 2022
@karimSalahx
Copy link

karimSalahx commented Jul 29, 2022

You can access it in YoutubeMetaData class

class A {
final YoutubePlayerController youtubePlayerController;
A(this.youtubePlayerController);
Duration get duration => youtubePlayerController.metadata.duration;
}

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

No branches or pull requests

3 participants