plyr-react
plyr-react copied to clipboard
How to override download button link?
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?
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
@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?
@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
@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