• I am looking for help with a license issue.
    I keep getting a "license error" even though I have unlimited license.
    Regarding information on page, https://krpano.com/docu/iisservers/

    ...and then set the path to this license file with the "license" parameter:
    as direct HTTP get parameter: krpano.swf?pano=krpano.xml&license=license.xml

    i have a swf file name assembly.swf
    and a license file renamed to license.xml.
    The swf file is embedd in an htm file named index.htm.
    Also using krpano_as3_interface.as

    Where and how do I implement this line of code: krpano.swf?pano=krpano.xml&license=license.xml
    Thanks for your help.

  • Hi buffalo,

    Can you give a link to see?
    Perhaps you are making some kind of mistake in your files path or file names...
    Try to put all your 3 files inside the same folder. For example:
    your_domain.com
    -- Your_Folder:
    ---- krpano.swf
    ---- krpano.xml
    ---- licence.xml
    And try to open the URL:
    your_domain.com/Your_Folder/krpano.swf?pano=krpano.xml&license=license.xml

    It should work...

    SAlut

  • you need to add the .license MIME type to the iis server. follow the link to microsoft on the same page you linked to. dont worry about that license string until you posted it i have never seen it. I never do anything with the license file except make sure a copy of it is in the same folder as krpano.swf.

  • Hi VN2009 *wink* ,

    Zitat

    dont worry about that license string until you posted it i have never seen it.

    SAlut.


  • edit swfkrpano.js
    "
    {var c=new SWFObject(h,b,a,f,"9.0.28",
    e);c.addVariable("license","krpano.gif"); c.addParam("allowFullScreen","true");c.addParam("allowScriptAccess","always");c.embed=function(d){if(c.write(d))d=new SWFkrpanoMouseWheel(c)};c.passQueryParameters=function(){var d=document.location.search||document.location.hash;if(d){d=d.substring(1).split("&");for(var j=0;j<d.length;j++){var i=d[j],k=i.indexOf("=");if(k==-1)k=i.length;var l=i.substring(0,k);i=i.substring(k+1);c.addVariable(l,i)}}};return c}else g='Adobe Flash Player 9/10 or higher needed<br/><br/><br/><a href="http://www.adobe.com/go/getflashplayer/" target="_blank">
    "

    first " krpano.license " -- > "krpano.gif"

    second edit swfkrpano.js


    add "c.addVariable("license","krpano.gif");" *sad* 对不起我的英语表达水平有限 *sad*

  • Hi,

    editing the swfkrpano.js would be possible of course,
    but I would recommend to put the addVariable call better in the html file,
    e.g. when there is an update of the swfkrpano.js you can just overwrite the old one,

    here an example (html):

    Zitat

    var swf = createswf("krpano.swf");
    swf.addVariable("xml", "pano.xml");
    swf.addVariable("license", "license.xml");
    swf.embed("krpanocontent");

    see also here:
    https://krpano.com/docu/swfkrpanojs/

    best regards,
    Klaus

Jetzt mitmachen!

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