Hi,
yes, the plugin is intended to work together with the built-in krpano videoplayer “videoplayer.js” as a audio transform module. All you have to do is tell the plugin which video it should use via the attribute “videoname”:
<plugin
name="myvideo"
url="/plugins/videoplayer.js"
videourl="/ambisonic_files/4096_ambisonic.mp4"
panovideo="true"
/>
<plugin
name="spatialsound4krpano"
url="/plugins/spatialsound4krpano.js"
videoname="myvideo"
format="6"
/>
Display More
The plugin gets the audio on DOM level and should always be synchronized with the video if you do not perform any additional heavy calculations in the “onviewchange” event, see note in the krpano documentation.
You can also determine from which deltas soundupdates are calculated and which movements (yaw, pitch, camroll) should be taken into account. To test the plugin with your spatial footage you can use this demo template: https://vrme.eu/spatialsound4krpano/spatialsound4krpano.zip
regards