Sound does not stop with onremovepano stopsound

  • I'm playing a video using the video plugin without sound to be able to directly play the video in iOS. For the sound I'm using the soundinterface plugin.

    The problem is the sound does not stop when I'm calling removepano('pano') and using in the XML file:

    Code
    <events name="currentpano" onnewpano="playsound(bgsnd, 'assets/sound.mp3', 0);" onremovepano="stopsound(bgsnd);"/>

    The full xml file content:

    I've updated to krpano 1.19-pr14 (build 2017-12-01), krpano 1.19-pr14 Sound Interface Plugin (build 2017-12-01) and krpano 1.19-pr14 Videoplayer Plugin (build 2017-12-01).

  • Issues seems to fix again when self explaining them *g*

    Just needed to add an id to the embedpano and use the same for removepano.

    Code
    embedpano({swf: 'vendors/krpano/video.swf', xml: 'vendors/krpano/video.xml', target: 'pano', mobilescale: 1.0, passQueryParameters: true, id: 'my_video'})


    Code
    removepano('my_video')

Jetzt mitmachen!

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