Sie sind nicht angemeldet.

1

Dienstag, 30. November 2010, 21:41

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:

Zitat

<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

Mittwoch, 1. Dezember 2010, 11:29

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

Donnerstag, 2. Dezember 2010, 15:13

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

Montag, 6. Dezember 2010, 16:41

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

Schüler

Beiträge: 110

Wohnort: Brooklyn, New York

Beruf: 360° VR Photographer

  • Nachricht senden

5

Donnerstag, 9. Dezember 2010, 06:51

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

Ähnliche Themen