Hello,
I wonder why doesn't initvars work in flash mode.
Code
script
embedpano({swf:"viewer/krpano.swf", xml:"iris.xml", target:"pano", html5:"auto", initvars: {mediaUrl: mediaUrl}});
xml
<sphere url="http://%$mediaUrl%"/>
in html5 mode everything works fine but in flash mode %$mediaUrl% is not resolved -> ERROR: Security Error - "http://%%24mediaurl%"