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.

21

Thursday, June 17th 2010, 3:57am

Thanks Tuur,

I had searched for this link previously and was unable to find it.

22

Thursday, June 17th 2010, 4:50am

Back on it...

Sorry. I haven't been paying attention to this thread. I'm whitelisted but now that 360cities is a pay program for pros I'll look into this more. I'll upload a pano as an .swf to my site, add the metadata to the head, and post it on facebook. Will follow up.

Ben

23

Thursday, June 17th 2010, 6:41am

Facebook embedding, partially accomlished

I've done a test for embedding. Since I'm whitelisted, the pano shows a thumb and recognizes the swf and tries to play it embedded in the posts. However, the space just comes up blank. I'm not sure exactly what the issue is but I'll look into in a few more days. I've posted link below. Look for "EMBEDDED PANO TEST .SWF" posted this evening. Maybe someone will know how to fix this part.

http://www.facebook.com/pages/Austin-TX/…on-Photography/

Ben

24

Thursday, June 17th 2010, 11:36am

I can see http://www.facebook.com/studiomds on his wall and it all looks ok except the full screen maybe you should put a link in the pano to say visit more pano examples

bulp

Intermediate

Posts: 389

Location: Malaysia

  • Send private message

25

Thursday, June 17th 2010, 11:43am

Ben... sometimes the same thing happen to me...

either FB server hv problems to 'fetch' or 'capture' or our server hosting speed arent good enough...

regards bulp

26

Thursday, June 17th 2010, 2:45pm

Perhaps a smaller cubeworlds then?

Bulp,

You said "sometimes" it hangs like that for you? I used the .swf droplet to make the cube and publish it. Perhaps a smaller file to begin with would work. Have you tried that? The guys at 360cities.net have been getting this to work for years now and to their credit VERY consistently.

Ben

Tuur

Sage

Posts: 3,124

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

27

Thursday, June 17th 2010, 3:13pm

Hi,

i have it on face book but it opens in a new brouwser screen... i don't want that...

I like as joekki did it so it stays in the wall..

How to fix that??
incl fullscreen??

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

bulp

Intermediate

Posts: 389

Location: Malaysia

  • Send private message

28

Thursday, June 17th 2010, 3:35pm

RE: Perhaps a smaller cubeworlds then?

Bulp,

You said "sometimes" it hangs like that for you? I used the .swf droplet to make the cube and publish it. Perhaps a smaller file to begin with would work. Have you tried that? The guys at 360cities.net have been getting this to work for years now and to their credit VERY consistently.

Ben


yes Ben.. sometimes.. if today i cant embed directly.. i will try it tomorrow.. or if it kinda urgent.. i will change the .swf name or html name meta name or etc that can make it work.... or else tomorrow or later that weeks.. :)

id already try cube a smaller one.. less than 2mb file size and it didnt work also... tomorrow never die... :)

it is such a troublesome for your fan / visitor to grab the html link and paste / promote their fav pano inside FB... but what can we do.. / i do it is FB ecosystem ...
:)

360cities php or whatever their server setting or code that 100% compatible with FB... and they even advance in releasing krpano into Ipad even before Klaus reveal his code.. maybe im wrong.. correct me...

Tuur gv me link / ur FB pages.. maybe ur meta code wrong or else.. maybe i can help you

Bulp

Tuur

Sage

Posts: 3,124

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

29

Thursday, June 17th 2010, 3:44pm

http://www.facebook.com/profile.php?id=1…20261883&v=wall


the top one ..just a test... when you click on the thumb it goes in new screen... *confused*

Thanx fo rthe help

tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

bulp

Intermediate

Posts: 389

Location: Malaysia

  • Send private message

30

Thursday, June 17th 2010, 3:47pm

have ur domain get whitelisted Tuur ?

Tuur

Sage

Posts: 3,124

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

31

Thursday, June 17th 2010, 3:49pm

yes get whitelisted!


http://www.virtualtuur.com/bleis/stijl1.html


is it to big? 5.5 mb..

tuur
http://www.virtualtuur.com
Skype:studiotuur

bulp

Intermediate

Posts: 389

Location: Malaysia

  • Send private message

32

Thursday, June 17th 2010, 3:51pm

oopps.. sorry...

i do use this code

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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<html>
<head>
<head>

	<title>namehere</title>



<meta name="tittle" content="name here" />
<meta name="description" content="A scene inside name" />
<link rel="image_src" href="http://......./namehere.jpg" />
<link rel="video_src" href="http://......./namehere.swf"/>
<meta name="video_height" content="280" />
<meta name="video_width" content="420" />
<meta name="video_type" content="application/x-shockwave-flash" />


	<script type="text/javascript" src="swfobject21/swfobject.js"></script>
	<script type="text/javascript" src="swfobject21/swfkrpanomousewheel.js"></script>
	
	<script type="text/javascript">
	// <![CDATA[	
		if (swfobject.hasFlashPlayerVersion("6.0.0")) 
		{
			swfobject.embedSWF("namehere.swf", "krpanoDIV", "100%", "100%", "9.0.28", "swfobject21/expressinstall.swf", {allowfullscreen:true, bgcolor:"#000000"}, { id:'krpanoSWFObject1', name:'krpanoSWFObject' });
			swfkrpanomousewheel.registerObject("krpanoSWFObject");
		}
		else
		{
			document.getElementById("krpanoDIV").innerHTML = '<table width="100%" height="100%"><tr valign="middle"><td><center>ERROR:<br/><br/>Adobe Flash Player 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>';
		}
	// ]]>
	</script>
	
	<style>
		body{ font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#FFFFFF; background-color:#000000; margin:0; padding:0; }
		* html, * html body{ overflow: hidden; }
		a{ color:#AAAAAA; text-decoration:underline; }
		a:hover{ color:#FFFFFF; text-decoration:underline; }
	</style>

</head>

<body>
	
	<div id="krpanoDIV">
		<noscript><table width="100%" height="100%"><tr valign="middle"><td><center>ERROR:<br/><br/>Javascript not activated<br/><br/></center></td></tr></table></noscript>
	</div>

</body>
</html>



using swfobject21 seem work with FB...

try that..

This post has been edited 2 times, last edit by "bulp" (Jun 17th 2010, 4:41pm)


Tuur

Sage

Posts: 3,124

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

33

Thursday, June 17th 2010, 4:03pm

now have this:

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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<html>
<head>
	<title>© virtualtuur.com </title>
    
    
    
    <meta name="description" content="Grandcafe van Bleiswijk" /> 
<link rel="video_src" href="http://www.virtualtuur.com/bleis/stijl1.swf"/> 
 <meta name="title" content="Grandcafe van Bleiswijk" /> 
 <link rel="image_src" href="http://www.virtualtuur.com/bleis/stijl1.jpg" /> 
<meta name="video_height" content="350" /> 
<meta name="video_width" content="470" /> 
<meta name="video_type" content="application/x-shockwave-flash" /> 
    
    
    
    <script type="text/javascript" src="swfobject21/swfobject.js"></script>
	<script type="text/javascript" src="swfobject21/swfkrpanomousewheel.js"></script>
	
	<script type="text/javascript">
	// <![CDATA[	
		if (swfobject.hasFlashPlayerVersion("6.0.0")) 
		{
			swfobject.embedSWF("stijl1.swf", "krpanoDIV", "100%", "100%", "9.0.28", "swfobject21/expressinstall.swf", {allowfullscreen:true, bgcolor:"#000000"}, { id:'krpanoSWFObject1', name:'krpanoSWFObject' });
			swfkrpanomousewheel.registerObject("krpanoSWFObject");
		}
		else
		{
			document.getElementById("krpanoDIV").innerHTML = '<table width="100%" height="100%"><tr valign="middle"><td><center>ERROR:<br/><br/>Adobe Flash Player 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>';
		}
	// ]]>
	</script>
	
	<style>
		body{ font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#FFFFFF; background-color:#000000; margin:0; padding:0; }
		* html, * html body{ overflow: hidden; }
		a{ color:#AAAAAA; text-decoration:underline; }
		a:hover{ color:#FFFFFF; text-decoration:underline; }
	</style>
    
    
</head>
<style>
body{ font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#FFFFFF; background-color:#000000; margin:0; padding:0; }
* html, * html body{ overflow: hidden; }
a{ color:#AAAAAA; text-decoration:underline; }
a:hover{ color:#FFFFFF; text-decoration:underline; }
</style>
<body>
	
	<div id="krpanoDIV">
		<noscript><table width="100%" height="100%"><tr valign="middle"><td><center>ERROR:<br/><br/>Javascript not activated<br/><br/></center></td></tr></table></noscript>
	</div>


</body>
</html>



but it seems to be the same..
yes i did also upload that swf obejct... but isn't that not also in the swf?

tuur
http://www.virtualtuur.com
Skype:studiotuur

bulp

Intermediate

Posts: 389

Location: Malaysia

  • Send private message

34

Thursday, June 17th 2010, 4:13pm

i think something wrong with FB server.. maybe u have to change / rename all the data.. from the html link name swf files name ... meta data name or maybe meta content name..

etc.. or else try again after few days...

i think this make the OTHER website flawlessly embed into FB

<link rel="video_src" href="http://THEWEBSITE/javascripts/krpano/krpano.swf?pano=http://THEWEBSITE/krpano/facebook/THEFILESNAME.xml&state=facebook"/>

they using only 1 files.. that the krpano.swf ... and using direct linking to specific panorama..

Tuur

Sage

Posts: 3,124

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

35

Thursday, June 17th 2010, 4:20pm

mmm.. i renamed all... upload... new post.. same behaviour...

*confused*


i don't understand what you mean here:

Quoted

i think this make the OTHER website flawlessly embed into FB

<link rel="video_src" href="http://THEWEBSITE/javascripts/krpano/krpano.swf?pano=http://THEWEBSITE/krpano/facebook/THEFILESNAME.xml&state=facebook"/>


Tuur *wacko*
http://www.virtualtuur.com
Skype:studiotuur

bulp

Intermediate

Posts: 389

Location: Malaysia

  • Send private message

36

Thursday, June 17th 2010, 4:23pm

mmm.. i renamed all... upload... new post.. same behaviour...

*confused*


i don't understand what you mean here:

Quoted

i think this make the OTHER website flawlessly embed into FB

<link rel="video_src" href="http://THEWEBSITE/javascripts/krpano/krpano.swf?pano=http://THEWEBSITE/krpano/facebook/THEFILESNAME.xml&state=facebook"/>


Tuur *wacko*



change / rename everything - i guess something wrong with FB .... thats i cant help you.. :(

the 360cities use that code for each or their user / member ......

as we.. compile / kprotect each file and try to embed into FB... and if we have other panorama we will do the same method..

Tuur

Sage

Posts: 3,124

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

37

Saturday, June 19th 2010, 1:53pm

mmm. can't get it... i try just to show a single pano swf in the wall...

no xml there ..

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

mds

Intermediate

Posts: 152

Location: Athens, GA

Occupation: Designer

  • Send private message

38

Sunday, June 20th 2010, 5:52am

the way i got mine to work was by passing the xml path with the swf path for the video source meta tag. have a look at the source html for this http://mdscubed.com/demo/quincy/room/ and see this same pano (minus the flash interface) embedded on my facebook page
Say "Hi!" on twitter

Tuur

Sage

Posts: 3,124

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

39

Sunday, June 20th 2010, 1:38pm

mmm ithink there it goes wrong...


i just only used the make single swf droplet, so there is no xml at all..

(can that work?)

I try the other thing.. make normal..

Thanx

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Tuur

Sage

Posts: 3,124

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

40

Sunday, June 20th 2010, 2:01pm

mmm..

now i tried as mds wrote... ithink but it opens still in a new brouwser screen *cursing*


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
34
35
36
37
38
<html>
<head>
	<title>klasb1b | ©by Virtual Tuur</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
	<meta name="apple-mobile-web-app-capable" content="yes" />
     
<link rel="video_src" href="http://www.virtualtuur.com/iphone/klasb1b/krpano.swf?pano=http://www.virtualtuur.com/iphone/klasb1b/klasb1b.xml"/> 
 <meta name="title" content="klasb1b" /> 
 <link rel="image_src" href="http://www.virtualtuur.com/iphone/thumbs/klasb1b.png" /> 
<meta name="video_height" content="350" /> 
<meta name="video_width" content="370" /> 
<meta name="video_type" content="application/x-shockwave-flash" /> 
    
	<style>
		html { height:100%; }
		body { height:100%; overflow: hidden; margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#FFFFFF; background-color:#000000; }
		a{ color:#AAAAAA; text-decoration:underline; }
		a:hover{ color:#FFFFFF; text-decoration:underline; }
	</style>
</head>
<body>

<div id="krpanoDIV">
	<noscript><table width="100%" height="100%"><tr valign="middle"><td><center>ERROR:<br><br>Javascript not activated<br><br></center></td></tr></table></noscript>
</div>

<script type="text/javascript" src="swfkrpano.js"></script>

<script type="text/javascript">

	var swf = createswf("krpano.swf");
	swf.addVariable("xml","klasb1b.xml");
	swf.embed("krpanoDIV");

</script>

</body>
</html>


Tuur
http://www.virtualtuur.com
Skype:studiotuur