Sie sind nicht angemeldet.

juyatu

Schüler

  • »juyatu« ist der Autor dieses Themas

Beiträge: 68

Wohnort: China

Beruf: Krpano custom coding

  • Nachricht senden

1

Freitag, 15. Januar 2021, 06:12

Sound doesn't loop after the first touch.

After the first touch, the music starts playing. But it doesn't loop,it only played once and then stopped.
krpano 1.20.9
*thumbup*

Preload Plugin (Free, source code)
Constrast Plugin
KR HLS Plugin
Slider Controller Plugin
KR+Next+MapBox+TS Demo (source code)


微信:Eric_Chen1990

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

2

Freitag, 15. Januar 2021, 09:00

show us you code if you want some help ;)

juyatu

Schüler

  • »juyatu« ist der Autor dieses Themas

Beiträge: 68

Wohnort: China

Beruf: Krpano custom coding

  • Nachricht senden

3

Montag, 18. Januar 2021, 02:21

show us you code if you want some help ;)

<plugin name="bgmusic_interface"
url="%ROOT%/plugins/soundinterface.swf"
alturl="%ROOT%/plugins/soundinterface.js"
rootpath=""
preload="true"
keep="true"
/>

<action name="autoplaymusic" scope="local" autorun="onstart">
playsound(bgsnd,get(global.bgmusicurl),true);
</action>

If the plugin try to automatically unlock the browsers sound playback on start using the first touch or click events,then it's only going to play once.However, when the action is executed the second time, its loop will work.I think it has something to do with autounlock.
*thumbup*

Preload Plugin (Free, source code)
Constrast Plugin
KR HLS Plugin
Slider Controller Plugin
KR+Next+MapBox+TS Demo (source code)


微信:Eric_Chen1990

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »juyatu« (18. Januar 2021, 02:31)