How to auto play mp3 after pano loading

  • Hi, simple question. Its possible to make auto play mp3 sound after panorama is loaded?
    Now I must make one click mouse button on panorama then sound is playing.
    But I need playing sound automaticly without button click.
    I heard the web browsers block this. It's true?
    How I can fix this problem?

    PS
    In krpano tools everything is ok but on www not.

    txs
    Slawek

    <plugin url="%VIEWER%/plugins/soundinterface.js" keep="true"
    onloaded="playsound(bg, 'https://martaprominska.com/room01/Nc_v3.mp3', true, 1);"
    />

  • Yes, this is a browser policy that blocks automatic playback. You can make, for example, a background layer with the inscription "watch the tour" at the beginning and hide it when you click, then there will be playback

    Thanks a lot. Have a nice day.

Participate now!

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