+ 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...)
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*😊
+ 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
+ 5
+ 3
Andy[SPENDING LIFE IN DM] what is the website link?
+ 1
❤╣✯A_J•S_I_N_G_H✯╠❤ i dont know why it does not work..please give a code example
0
<src="xyz.mp4/ogg" download="name of audio">