I have a site that just displays 360 videos. I want to be able to define the video and poster URLs inside the embedpano call, not inside the XML.
Code
embedpano({
swf:"krpano.swf",
xml:"video.xml",
target:"pano",
html5:"auto",
vars: {
posterurl: "poster.jpg",
videourl: "video.mp4|video.webm"
}});
Obviously the above doesn't work, and I've tried a few different variations. Is there anything like this possible? Right now the posterurl and videourl are only available inside the tags<krpano><plugin name="video" posterurl="xx" videourl="xx"></krpano>