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

[FEATURE REQUEST] Flag to prevent download or streaming of videos on start #903

Open
jvenki opened this issue Dec 26, 2023 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@jvenki
Copy link

jvenki commented Dec 26, 2023

Is your feature request related to a problem? Please describe.
Even though there is a flag to disable autoPlay, I believe the video is gettig downloaded in the background. I have 100s of videos rendered on a screen and the view becomes unresponsive at start. Is there a way I prevent download of videos till they are PLAYED.

Describe the solution you'd like
I would like a flag to control this behaviour of downloading videos. It makes sense when there is only 1 video that we are downloading and keeping it ready. Not really required when the page has many videos. Therefore I would recommend having a flag to disable download just like autoPlay.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
I did come across #569, but not sure how to use it.

@jvenki jvenki added the enhancement New feature or request label Dec 26, 2023
@jvenki
Copy link
Author

jvenki commented Dec 26, 2023

Is the expectation that we have to invoke YoutubePlayer.getThumbnail without building YoutubePlayer. On click on the image, we then insert the YoutubePlayer into the widget tree?

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

2 participants