Reproducir audio desde google drive

How do you expect it to play then? Are you using a webviewer ?

Show your relevant blocks, please


Ahora he cambiado pero me da este error.

I will assume that you are using a "player" component, despite what you said earlier in the topic.

You will need to modify the url in order to play it

from:
https://drive.google.com/file/d/1VopPMP06RZXICbRF6ziQfxpk6owg4ETO/view?usp=share_link
to
https://drive.google.com/uc?id=1VopPMP06RZXICbRF6ziQfxpk6owg4ETO

here are some blocks (this works in companion on Android 13)

1 Like

muchas gracias, voy a intentarlo

Nada, lo siento pero a veces funciona y a veces no.
Y la versión de android tengo la 13
y versión de One UI 5.0

with the same file ?

no, solo con algunos

Show the address of a file that doesn't work for you.

Are all your files stored on google drive?
Do they all have "anyone with the link" access ?
Do they all have the same url (apart from the file ID) ?
Are some much bigger than others? (you may need to introduce a clock timer to give the file time to download)

Try this:

grafik

replacement: "uc?export=download&id="

uc?id= also works

Yes, but maybe he'll have better luck with that. :woman_shrugging: :wink:


ya lo he cambiado y sigue igual

la primera camptura es con lo de antes
y la segunda con la modificacion

los visores de arriba es con url original
los visores de abajo con la correccion

curiosamente solo se oye en los dos casos con el enlace de
la segunda linea, la que termina en .......w4gETO

en las demas canciones da error 702


solo se oye con la segunda canción

el primer texto como ves es original
y el de abajo la url que intento leer

si quieres te envío el .aia

Bueno, muchas gracias ya no te quiero molestar más. Lo dejaré por imposible aunque me fastidia :unamused:

perdon, ya me marcha, es que tenia los ficheros en restringido MUCHAS GRACIAS :grinning:

Try like this:

Uses a web component to download the file first, then sets the player in motion. each file downloaded is given the same name so only one "file" is ever created.

(tested: companion app, Android 13)

It is interesting to put here the different addresses that have appeared in this topic about Google Drive:

https://drive.google.com/file/d/1VopPMP06RZXICbRF6ziQfxpk6owg4ETO/view?usp=share_link

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

https://drive.google.com/uc?export=download&id=1VopPMP06RZXICbRF6ziQfxpk6owg4ETO

Also see here: