What's wrong (playsound)?

R. Van Nieuwenhuyze shared this question 5 years ago
Answered

Hello,

What's wrong with this file?

I have used "playsound"and I can't hear the music...

Thanks for a solution!

Rodger.

Comments (4)

photo
1

I can't too, despite the sound file works fine if I extract the link from the command and play it on a browser.

The syntax seems correct.

I'm addressing this to the Support Team.

photo
1

see the help of playsound

try

PlaySound("h ttps://drive.google.com/uc?id=1rofAHbv_jw1xgdOl0PVbTmb4jtX2NWyI&authuser=0&export=download") instead

(when copy the command delete the blank of h ttps)

photo
1

Hello Mathmagic,

Thanks! It works now!

But I can't stop the music...

When I use another button with the following script: Playsound(false) the music didn't stop...

Thanks!

Rodger.

photo
1

newly read the help


PlaySound( <Boolean Play> )
    Pause or resume play (not MP3 files)

I am afraid it is not possible

I think it is a minor theme

© 2023 International GeoGebra Institute