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

How to define that video from Web is loading and how can i display it to user? #98

Open
IKorabel opened this issue Jul 9, 2022 · 4 comments

Comments

@IKorabel
Copy link

IKorabel commented Jul 9, 2022

Hi, your library is cool. However, i would like to know how to track that video from Web is loading? I want to show to user something like loading spinner during the video loading.

@dingwilson
Copy link
Owner

Hello, we do not currently support this functionality, but it is possible. You can observe the timeControlStatus notification on the AVPlayer and show/hide the loading spinner when the player is not playing.

If this is something you're interested in, you can definitely open a PR to support this!

@sepehr-keyhani
Copy link

I have the same issue, can you add supporting this function in your library? or can you help us to add this function?

@sepehr-keyhani
Copy link

I fixed the issue with this link: https://www.ungapps.com/2019/11/add-loading-activityindicator-in.html

@dingwilson
Copy link
Owner

Hey @sepehr-keyhani! We welcome contributions to the codebase! You should commit your change to the repo so others can benefit from your findings. :)

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

3 participants