Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Samstag, 5. Juni 2010, 06:13

initial Play/pause button

Hi Guys,



I'm trying to create a simple play/pause button that functions like toggle.

I could create a pause/resumesound button, but could not make it init the music.

I'd like to use in this work: www.unscaras.com.br

It's a musical band site and the link mp3 will have lots more to listen, since i solve this problem.
Today, I have 2 buttons: 1 for play (playsound) and another for stop (stopallsounds).

Could you guys help me with that?
I'd like to create a simple button with play/pause state and another button for download option.




Just for info... i made this action for the toggle button, but how to make it play the music before it's running any sound?

Quellcode

1
2
3
4
5
6
<action name="switch"> 
pausesoundtoggle(s1); 

switch(hotspot[audio_stop].url,audio_listen.png,audio_stop.png); 

</action>


Thank you!!

Daniel

Ähnliche Themen