+ 13

How to create download action[solved]

Recently i am working on a web project(SL) to store audio files. I want to add a download function so that user can download the audio by pressing a button. I found some solution in google but they seems to be not working. From some people i learnt this that it may not work in sl.. But if this is possible in sl, please give the solution with a code example. (Without audio controls) (I am trying to use js here. But if possible html solutions are appreciated.) Note: i want the download to be started in sl domain. In some cases it redirects to browser. (Moderators, i searched this question in sl but did not find a exact solution...)

8th Nov 2020, 7:23 AM
Al Faiaj Anon
Al  Faiaj  Anon - avatar
6 ответов
+ 6
The best option is take the audio to drive... make the link sharing on and make it visible to everyone with the link..... Next, Go to Direct Drive Link generator website of google.. Enter the drive link and then get the Direct download link and add it info your project.... I have a example in my *Minecraft Skin project*😊
8th Nov 2020, 8:01 AM
ANDY тнє CODER [RECODE]
ANDY тнє CODER [RECODE] - avatar
+ 5
Al Faiaj Anon https://drive.google.com/uc?export=download&id=XXXXXXXXXXXXXXXXXXXXXX (change the X with the ID which is given in your drive link) ;) Be sure not to add any extra spaces... And also check that u have made it visible to everyone
8th Nov 2020, 8:57 AM
ANDY тнє CODER [RECODE]
ANDY тнє CODER [RECODE] - avatar
8th Nov 2020, 7:28 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
+ 3
Andy[SPENDING LIFE IN DM] what is the website link?
8th Nov 2020, 8:30 AM
Al Faiaj Anon
Al  Faiaj  Anon - avatar
+ 1
❤╣✯A_J•S_I_N_G_H✯╠❤ i dont know why it does not work..please give a code example
9th Nov 2020, 5:18 AM
Al Faiaj Anon
Al  Faiaj  Anon - avatar
0
<src="xyz.mp4/ogg" download="name of audio">
9th Nov 2020, 3:27 AM
JOHN WEST
JOHN WEST - avatar