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

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!