Can i play mp3 music file from google drive link in my apps?

See also here, point 3:

sorry for asking again
so this is my google drive link : https://drive.google.com/file/d/1Orobm7t2ou1LQTsdrKHFxOVQgiT1d_aI/view?usp=sharing

and then i should change in to these?
https://drive.google.com/uc?export=download&id=1Orobm7t2ou1LQTsdrKHFxOVQgiT1d_aI/view?usp=sharing

thx for your help

No, only the id at the end.

this link :
https://drive.google.com/uc?export=download&id=1Orobm7t2ou1LQTsdrKHFxOVQgiT1d_aI
only order to download in to our device
can i just play the file without download it first?

thx so much

As I said, play it from the assets.

This might work:

https://drive.google.com/uc?id=1Orobm7t2ou1LQTsdrKHFxOVQgiT1d_aI

Try in your browser first....

1 Like

I misunderstood. You can play the sound directly from this link (no download before).

Try this: playerTest.aia (171.6 KB)

Or set the Player.Source to sound.mp3 (loop.ogg in my example) and play the sound from there,

1 Like

Thx u so much for your help
since my link from google drive already working ( thx to TMA12)
https://drive.google.com/uc?id=1FlucjGcHYeskhCeShexXeYzjBqKkTGOw

next i want to use list view to call them

these is my blocks :

and when i try in android phone, its error like this

this is my aia file
player.aia (223.4 KB)

please advice whats is wrong

thx u so much

You canot load a list into Player1.Source, you have to load one at a time

2 Likes

please give example what should i do sir

See the jukebox example at the bottom of this page - it uses local files but the principle is the same

https://puravidaapps.com/file.php

1 Like

the juxebox.aia download link is not avaliable any more

It is

image

Also a simple approach is shown below

2 Likes

thx u so much !!!!

1 Like

it still not working but its nice idea
this is my aia file
cobamusik (1).aia (23.6 KB)

Yes, of course. You have to adjust it only a little, something like this:

2 Likes

thx u so much, it works
it just every time play 1 song, it move to start screen

What do you mean ?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.