Hello, I have created a slider_input.js file.
Code
var krpanoplugin = function()
{
var local = this;
var krpano = null;
var plugin = null;
var slaid = null;
local.registerplugin = function(krpanointerface, pluginpath, pluginobject)
{
krpano = krpanointerface;
plugin = pluginobject;
slaid = document.createElement("input");
slaid.type = "range";
plugin.sprite.appendChild(slaid);
}
};
Display More
this is how it is included in the xml:
And the video layer is included:
Code
<layer name="video" url.html5="videoplayer.js" videourl="video.mp4" align="center" width="500" height="prop" loop="true" onclick="togglepause()" />
But when I press and release the slider, there is a duplicate audio from the video, regardless of whether it is running or not. I did not make any connection with the video and the slider.
Here's an example
Tell me, what am I doing not so?