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.

1

Tuesday, November 30th 2010, 9:41pm

Embed krpano in wordpress not working on Ipad...

Hello,

I try to embed Krpano in a wordpress post but it is not working on Ipad (it is working on desktop computer).
I put this code in the post:

Quoted

<script src="http://www.boris-joseph.com/panostest/vtour/tour.js"></script>

<div id="pano" style="width:100%; height:100%;">
<noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
<script>
embedpano({swf:"http://www.boris-joseph.com/panostest/vtour/tour.swf", xml:"http://www.boris-joseph.com/panostest/vtour/tour.xml", target:"pano"});
</script>
Does someone know if there is a solution.
Thank you.
Boris.

2

Wednesday, December 1st 2010, 11:29am

Hi,

without example I can't say what's the problem exactly,
but I would recommend trying without this kind of absolute paths,
this can lead to security cross-domain problems,

when needed to use absolute paths then use just "/panostest/vtour/..."
instead of "http://www.boris-joseph.com/panostest/vtour/..."

best regards,
Klaus

3

Thursday, December 2nd 2010, 3:13pm

Hello,

Ok, thank you for your answer.
I found this thread who propose a solution:
KRPano Wordpress Shortcode
But they are using a .mov! Is it necessary to make the panorama with an other program than Krpano to develop a .mov?
Thank you for your answer.
Regards.
Boris

4

Monday, December 6th 2010, 4:41pm

Hi,
But they are using a .mov! Is it necessary to make the panorama with an other program than Krpano to develop a .mov?
.mov files are only supported in the krpano Flash viewer,
on the iPhone/iPad normal jpeg images must be used,

best regards,
Klaus

Sam Rohn

Trainee

Posts: 109

Location: Brooklyn, New York

Occupation: 360° VR Photographer

  • Send private message

5

Thursday, December 9th 2010, 6:51am

i actually added a bit to the shortcode to handle iphone/ipad panos, but as klaus said, this requires the addition of jpg cube faces to the mov files i was already using for flash display, and my shortcode is for individual panos, not multi-pano tours so it would not work with the OPs tour anyhow

easiest way to call an existing tour from wordpress is prob just to embed it in standard html page, & put that in a iframe or lightbox clone on wp site

also, for the record, i just defeated a crossdomain prob by specifying absolute paths w full url code used for facebook embeds that was giving me xdomain errors with relative paths :)

sam
Sam Rohn :: 360° Panoramic Photography :: Location Scout :: New York City :: www.samrohn.com

PanoPress :: WordPress Plugin for 360° Panoramas in Flash & HTML5 :: www.panopress.org