You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Douglas Rhiner


  • "Douglas Rhiner" started this thread

Posts: 141

Location: San Anselmo, CA

Occupation: Code-Slave

  • Send private message


Monday, October 2nd 2017, 2:54am

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.

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


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


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

This post has been edited 1 times, last edit by "Douglas Rhiner" (Oct 3rd 2017, 12:03am)



Posts: 52

Location: Iran

Occupation: Tehran,Alborz,nazarabad,

  • Send private message


Tuesday, October 3rd 2017, 4:51pm

its work


I chek it

desktop, firfox ,safari and chrom working nice.

and I have problem too.

sound problem at pr13 ??