• I've just bought krpano license. I copied into the krpanotool folder as I was told but I am having problem (probably I am too thick and it is Sunday):

    I created a swf file with my own plug in and called audioStreaming3.swf. This one made use of krpano.swf, soundinterface.swf and videoplayer.swf. (It run on my computer OK)

    Then I created a html page called pano.html such as:


    "<html>
    <body>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/…version=8,0,0,0" width="640" height="286">

    <param name="movie" value="audioStreaming3.swf">
    <param name="quality" value="high">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="True" />
    <embed src="audioStreaming3.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="640" height="286" allowScriptAccess="sameDomain" allowFullScreen="True">
    </embed>
    </object>
    </body>
    </html> "


    Then I copied everything on my webserver (host service with ISS, sorry)

    And when I run http://www......./pano.html it says ""LICENSE ERROR" (white letters on black background).

    Any idea what is wrong? Any instruction how to do it?

    I tried to do the "krpano Protect Tool.exe" thing creating a embedded swf but not luck.

    Thanks,

    Alfonso

  • OK, guys. I found how to do it finally. (We need some instructions!)

    1.-Run the krpano protect tools.exe (make sure the krpano.license and krpanotools.license is in the folder).

    2.-Under "Protect" tab I selected output "swf"

    3.-I don't select "embedd start XML file" so I have access any time to it

    4.-and then "Add domain" or domains where is going to be used.

    5.-Then under "Embedding" tab add the files needed. At this point I am confused which files HAVE to be. I have included only the krpanotools.license.


    the output file (swf) should have the same name that the xml (I believe).


    Now, I have an audio problem. My embedded swf won't play the audio. If I run the swf standalone on my computer it works but not from the server.

    I have reused the embedded example adding:

    audiopano.call("addplugin(mysound);");
    audiopano.set("plugin[mysound].url", "soundinterface.swf");

    audiopano.set("plugin[mysound].onloaded", "playsound(auto,http://radio.suggerebonheur.com:8000/highband),0,0;");


    as I said it works as standalone swf but not on the webpage. Any idea or recommendation?

    Thanks,

  • Hi,

    it might be possible that the access to the radio server is not allowed,
    e.g. no 'crossdomain.xml' or a not allowed there - the Flashplayer will not check that when running offline...

    maybe try also embedding the swf by using Javascript instead of directly using <object>/<embed> tags, that can also make a difference - when embedded by Javascript, then the Flashplayer has access to Javascript and maybe more possibilities this way...

    best regards,
    Klaus

Jetzt mitmachen!

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