You are not logged in.

Dear visitor, welcome to krpano.com 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" started this thread

Posts: 89

Location: Fairfax, CA

Occupation: Code-Slave

  • Send private message

1

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.
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

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


samadi

Beginner

Posts: 30

Location: Iran

Occupation: Tehran,Alborz,nazarabad,

  • Send private message

2

Tuesday, October 3rd 2017, 4:51pm

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