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

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!