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 override download button link? #916

Closed
alexandrsek opened this issue Aug 4, 2022 · 4 comments
Closed

How to override download button link? #916

alexandrsek opened this issue Aug 4, 2022 · 4 comments

Comments

@alexandrsek
Copy link

alexandrsek commented Aug 4, 2022

Hi! I have multiple video qualities, but when I click on download button I need to download an original file from another server. How this can be accomplished?

@realamirhe
Copy link
Collaborator

Hey @alexandrsek,
Could you follow url guide from plyr documentation

If you wish to override any API URLs then you can do so here. You can also set a custom download URL for the download button.

https://github.com/sampotts/plyr

@chintan9 chintan9 closed this as completed Sep 2, 2022
@towfiqi
Copy link

towfiqi commented Jul 17, 2023

@realamirhe Hi, Th plyr doc says to attach the download url to the plyr Options urls option. which is missing in ply-react

If you wish to override any API URLs then you can do so here. You can also set a custom download URL for the download button.

Shouldn't there be a urls option?

@realamirhe
Copy link
Collaborator

@towfiqi think you are right, might need to follow up the issue or open a PR for plyr team
You can find the Option type here

@towfiqi
Copy link

towfiqi commented Jul 18, 2023

@realamirhe Thanks for the reply :)

I also see you have written the custom hls player. I am having few issues with implementing it. I have described them in issue #688 Can you kindly take a look if you have some spare time? Regards

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

4 participants