Javascript / React - Add click to download file functionality [Expert]
Budget: $10 – $60 USD
Hi there,
I'm looking for an independent developer that is able to help me add a click to download file functionality (right now the media just opens in a new window). Example: https://bit.ly/test-yrp
I've tried creating an api proxy (resource intensive) and using the FileSaver npm package to no avail. Appending "&dl=1" to the end of the IG video url and adding 'download' attribute (files not on same origin) also don't work. Hoping there is a simple solution that I might have overlooked.
The site is built with NextJS 13 with Tailwindcss. Would be great to find help on this and also building out more features / optimizing the code. Half the pages are using the new server components ;-)
Thank you,
Muda
I'm looking for an independent developer that is able to help me add a click to download file functionality (right now the media just opens in a new window). Example: https://bit.ly/test-yrp
I've tried creating an api proxy (resource intensive) and using the FileSaver npm package to no avail. Appending "&dl=1" to the end of the IG video url and adding 'download' attribute (files not on same origin) also don't work. Hoping there is a simple solution that I might have overlooked.
The site is built with NextJS 13 with Tailwindcss. Would be great to find help on this and also building out more features / optimizing the code. Half the pages are using the new server components ;-)
Thank you,
Muda