Sie sind nicht angemeldet.

Douglas Rhiner

Fortgeschrittener

  • »Douglas Rhiner« ist der Autor dieses Themas

Beiträge: 141

Wohnort: San Anselmo, CA

Beruf: Code-Slave

  • Nachricht senden

1

Montag, 2. Oktober 2017, 02:54

Playsound gesture error on Android

Issues on Android have been reported for this plugin before. But this SHOULD work.

The playsound() action is called from a hotspot onclick.
This works as expected in every iOS device I've tried and desktop.

However it does not work on Android.
I can interact with the pano, click on that and any other hotspot, basically use "gestures" to interact with the KRPano environment.

Here is a link to a tour with a hotspot to illustrate the issue.
https://www.createvtour.com/ovivo-plant-tour


Here is what is relevant from the JS console;


INFO: krpano 1.19-pr13 (build 2017-09-21)
INFO: Android 6.0.1 (SAMSUNG-SM-G930A) - Chrome 61.0 - WebGL

warning

Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture


error

VM58:5 Uncaught (in promise) DOMException: play() can only be initiated by a user gesture

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Douglas Rhiner« (3. Oktober 2017, 00:03)


samadi

Schüler

Beiträge: 56

Wohnort: Iran

Beruf: Tehran,Alborz,nazarabad,

  • Nachricht senden

2

Dienstag, 3. Oktober 2017, 16:51

its work

Hi

I chek it

desktop, firfox ,safari and chrom working nice.

and I have problem too.

sound problem at pr13 ??


www.livepano.ir