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

fixed video reload on changing quality #159

Closed
wants to merge 3 commits into from

Conversation

YunusShaikh29
Copy link

fixes:#142
After this pr:
The video reloads only once after selecting a quality. The video does not reload if the selected quality is already applied.

2024-03-05.21-44-52.mp4

const quality = e.target.getAttribute('data-quality');
if (quality) {
quality = e.target.getAttribute('data-quality');
console.log(quality);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you remove the log?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the log.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hkirat can you review the code please?

@hkirat
Copy link
Contributor

hkirat commented Mar 10, 2024

This isn't the ideal solution for this, ideally the quality selector should be in the video player
Please add it there in case youre thinking of doing this
closing for now

@hkirat hkirat closed this Mar 10, 2024
@YunusShaikh29
Copy link
Author

Ok sir I will try again.

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

Successfully merging this pull request may close these issues.

2 participants