You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Posts: 40

Location: York, UK

Occupation: Graphic Designer

  • Send private message

41

Thursday, December 3rd 2009, 10:13am

Hi all
I managed to fix it using Kimli Flash Embed. Here's the code I used:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<div id="pano" style="border:1px solid #000;height:300px;">
[kml_flashembed publishmethod="static" fversion="9.0.28" useexpressinstall="true" movie="http://www.bettondesign.co.uk/grandhotel/krpano.swf" width="606" height="300" targetclass="flashmovie" base="http://www.bettondesign.co.uk/grandhotel/"]
ERROR:<br />
	<br />
  Javascript not activated
  <script type="text/javascript" src="http://www.bettondesign.co.uk/grandhotel/swfobject/swfobject.js"></script>
	<script type="text/javascript" src="http://www.bettondesign.co.uk/grandhotel/swfobject/swfkrpanomousewheel.js"></script>
	<script type="text/javascript">
// <![CDATA[
	if (typeof(deconcept) !== 'undefined')
	{
		if (deconcept.SWFObjectUtil.getPlayerVersion().major >= 6)
		{
			var so = new SWFObject("http://www.bettondesign.co.uk/grandhotel/krpano.swf", "krpanoSWFObject", "606", "300", "9.0.28","#000000");
			so.addParam("allowFullScreen","true");
			
			so.addVariable("xml", "http://www.bettondesign.co.uk/grandhotel/krpano.xml");			
			
			if ( so.write("pano") ) { var mousewheelfixes = new SWFkrpanoMouseWheel(so); }
		}
		else
		{
			document.getElementById("pano").innerHTML = '<table id="inner" width="606" height="300"><tr valign="middle"><td><center>ERROR:<br/><br/>Adobe Flash Player 9 needed<br/><br/><br/><a href="http://www.adobe.com/go/getflashplayer/"  target="_blank"><IMG SRC="http://www.macromedia.com/images/shared/download_buttons/get_flash_player.gif" BORDER="1"></a><br/>...click here to download...<br/><br/><br/><br/></center></td></tr></table>';
		}
	}
	else
	{
		document.getElementById("pano").innerHTML = '<table id="inner" width="606" height="300"><tr valign="middle"><td><center>ERROR:<br/><br/><b>./swfobject/swfobject.js</b> not found<br/><br/><br/><br/><br/></center></td></tr></table>';
	}
// ]]>
  </script>
[/kml_flashembed]
</div>


I realise that most of you will have already known this but it might help someone *smile*

42

Thursday, April 1st 2010, 7:54pm

how-to?

CanĀ“t get this integration to work. get an javascript error.
Can someone write a quick summary/howto on how to get this up and running?

regards,
Steve

43

Wednesday, April 14th 2010, 10:22am

RE: WordPress integration

I`m working on a solution to embed Krpano automatically in WordPress blog/CMS system.

Are anyone aware of anyone else doing this ?


I am developing a plugin for Wordpress to embed krpano using a shortcode: WP krpano
http://wordpress.org/extend/plugins/wp-krpano/

I will start a new thread to discuss WP krpano soon.

-Jens

Similar threads