Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

  • »John Myrstad« ist der Autor dieses Themas

Beiträge: 91

Wohnort: Norway

Beruf: Product Specialist @ www.fuglefjellet.no

  • Nachricht senden

1

Freitag, 6. Februar 2009, 18:19

WordPress integration

Hi.

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

Are anyone aware of anyone else doing this ?
Will there be any changes in how Krpano is embeded with swfobject 2.1 in the near future.

www.wordpress.org

John Myrstad

Tuur

Erleuchteter

Beiträge: 2 774

Wohnort: Netherlands

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

  • Nachricht senden
  • »John Myrstad« ist der Autor dieses Themas

Beiträge: 91

Wohnort: Norway

Beruf: Product Specialist @ www.fuglefjellet.no

  • Nachricht senden

3

Freitag, 6. Februar 2009, 20:52

Thanks for the link, but thats a wordpress.com site and the pano is hosted elsewhere I believe.

I`m talking about the wordpress.org solution, selfinstalled blog/cms software.

John Myrstad

Tuur

Erleuchteter

Beiträge: 2 774

Wohnort: Netherlands

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

  • Nachricht senden

4

Freitag, 6. Februar 2009, 21:29

ah... sorry... i'm just dutch *g*

can't help you on this one...

cheers

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

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

5

Samstag, 7. Februar 2009, 03:37

I would not think that there would be any changes to the method of embedding from the krpano side... the format for embedding using swfobject 2.1 is based upon the swfobject developers here

I've not heard of anyone doing any work for simplifying the embed process in wordpress (or joomla for that matter).

Sam Rohn

Schüler

Beiträge: 108

Wohnort: Brooklyn, New York

Beruf: Location Scout

  • Nachricht senden

6

Samstag, 7. Februar 2009, 16:22

wordpress & panoramas

ive been using wordpress to display my panos usung FPP, ive been looking into migrating to KRPano, seems it would be pretty much the same

for example, see my site here - http://www.samrohn.com

1st thing is to use absolute, complete url paths in XML, etc, relative url's seem to cause probs

i used to use kimli flash embed (see post 4 and after on this page)

ive got WP rigged up now to display all my panos using a single xml and php file, all i need do is upload a .mov & .jpg file for each pano, put the file name into a custom field and hit publish

currently, this involves 3 WP plugins -

More Fields lets you create a custom box w/ pre-defined custom field keys on your edit post page, i gave mine fields for pano file name, pano title, pan, tilt, zoom, one could do custom xml per pano too

enzymes lets you pull these custom field values right into your posts, which are passed as url vars to the single php file which embeds the panos

sniplets lets you include a predefined block of text inside a post,basically making a custom wp shortcode, like [snip pano1]

sniplet code looks something like this, you could also put this right into you post as-is, or in a WP template with a few changes

Quellcode

1
<a href="http://www.DOMAIN.com/path/to/panorama.php?pano={[ .pano-file ]}&pan={[ .pan ]}&tilt={[ .tilt ]}&zoom={[ .zoom ]}"><img src="http://www.DOMAIN.com/path/to/pano/{[ .pano-file ]}.jpg"/></a>


object/embed in pano.php looks something like this -

Quellcode

1
<embed src="http://www.DOMAIN.com/path/to/pano.swf?xml_file=http://www.DOMAIN.com/path/to/panorama.xml&panoName=http://www.DOMAIN.com/path/to/<?php echo $_GET['pano']; ?>&panHome=<?php echo $_GET['pan']; ?>&tiltHome=<?php echo $_GET['tilt']; ?>&zoomHome=<?php echo $_GET['zoom']; ?>" type="application/x-shockwave-flash"  allowFullScreen="true"></embed>


i know, i should be using swfobject, just haven't had the time to get that all sorted

you could skip enzymes & sniplets by putting the code into you template files, and more fields is basically just for convenience -

as i said above, this is all for FPP, haven't tested it w/ KRP yet, but i'm sure it wouldn't be too difficult to adapt -

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

  • »John Myrstad« ist der Autor dieses Themas

Beiträge: 91

Wohnort: Norway

Beruf: Product Specialist @ www.fuglefjellet.no

  • Nachricht senden

7

Samstag, 7. Februar 2009, 20:49

Thanks Sam.

( We discussed WP/Panos in mail some time ago. )

PODS seems also promising, might be possible make PODS widget for Krpano.
http://pods.uproot.us/

8

Montag, 9. Februar 2009, 11:20

RE: WordPress integration

Hi.

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

Are anyone aware of anyone else doing this ?
Will there be any changes in how Krpano is embeded with swfobject 2.1 in the near future.

www.wordpress.org

John Myrstad
Hi, sorry, I have no experiences with Wordpress,
but it's already possible to use SWFObject 2.1 with krpano,

a example is included in the current 1.0.7 download in the
folder: "examples/htmlembedding/swfobject21/"

I have also a written a "swfkrpanomousewheel.js" script for SWFObject 2.1,
this additional script fixes the Flashplayer mousewheel bugs on the most browsers/systems,

best regards,
Klaus

  • »John Myrstad« ist der Autor dieses Themas

Beiträge: 91

Wohnort: Norway

Beruf: Product Specialist @ www.fuglefjellet.no

  • Nachricht senden

9

Montag, 9. Februar 2009, 11:27

I know.

My point is to make the process automatic, upload the swf and xml, then publish by pushing a button in the editor and filling in necessary variables. No manual html/javascript editing.

10

Dienstag, 3. März 2009, 16:09

Hi.

I'm also trying to put krPano on my wordpress blog : http://www.nicolasburtey.net

But I can't make the mousewheel working.

The thing is : I use kimli flash embed to import my pano in FPP, so the swfobject.js v2.1 is always in my header.

and I think you can't have two swfoject (v1.5 and 2.1) on the same page.

Klaus, in you swfobject 2.1 exemple, you put standard one ?

Exemple here : http://www.nicolasburtey.net/projection-pannini-chez-krpano/
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

  • »John Myrstad« ist der Autor dieses Themas

Beiträge: 91

Wohnort: Norway

Beruf: Product Specialist @ www.fuglefjellet.no

  • Nachricht senden

11

Dienstag, 3. März 2009, 16:36

If panomouswheelfix js isnt embeded you may use a plugin like WpHook http://wordpress.org/extend/plugins/wp-hooks/

Quellcode

1
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js?ver=2.1'></script>


You only seems to have the swfobject.js

12

Mittwoch, 4. März 2009, 08:45

Yes, it's included. Not in the header, but in the content, line 141 :

Quellcode

1
<p><script type="text/javascript" src="http://www.nicolasburtey.net/wp-content/uploads/panorama/swfobject/swfkrpanomousewheel.js"></script><br />


I wonder whether there is a conflit between the swfobject download from http://ajax.googleapis.com and the one provided by Klaus
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

  • »John Myrstad« ist der Autor dieses Themas

Beiträge: 91

Wohnort: Norway

Beruf: Product Specialist @ www.fuglefjellet.no

  • Nachricht senden

13

Mittwoch, 4. März 2009, 10:52

You may try to use the swfobject from Klaus.

Zitat

Create a reference to SWFObject.js?
Decide whether or not you want to create a reference to SWFObject 2.1 in the HTML of your page templates. It is useful to turn this off if you already have SWFObject being referenced elsewhere in your code. Note that SWFObject 2.x is NOT compatible with SWFObject 1.x! KFE 2 requires SWFObject 2.x. Default is true
Where do you want to reference SWFObject.js from?
If you choose to create a reference to SWFObject 2.1, you have 2 options in terms of where you reference it from. Internal creates a link to the copy of SWFObject bundled with the plugin. Google Ajax Library creates a link to the copy of SWFObject hosted in the Google’s Hosted Ajax Library. The advantage of this is that the Javascript gets served with correct cache headers and it saves you a bit of bandwidth on your server. Default is Google Ajax Library

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

14

Mittwoch, 4. März 2009, 10:52

I would think that having two different swfobject's would be a problem. You can embed krpano swf using either one... just modify the structure to suit the one you are using... http://www.krpano.com/docu/html/#swfobject

the swfkrpanomousewheel.js is different depending on if you are using swfobject 1.5 or 2.1... so you need to pick which swfobject you are going to use... and then use the corresponding mouswheel fix script.

Graydon

15

Mittwoch, 4. März 2009, 11:08

I would think that having two different swfobject's would be a problem. You can embed krpano swf using either one... just modify the structure to suit the one you are using... http://www.krpano.com/docu/html/#swfobject


I saw something interessant in this page :

(NOTE - the 2.1 script code must be in the html head!)

Maybe this is the point... I'm going to test
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

16

Mittwoch, 4. März 2009, 18:28

I routinely use swfobject 2.1 without having it specified in the header. I use Joomla and a code insertion app (jumi)... but the concept should be the same for any site.

Another item I learned is that it's not good to have the js files called more than once... it didn't seem to affect the swfobject embedding... but the mousewheel fix "broke" when I inserted multiple panos on a page... and each one inserted the reference to the mousewheel fix.

17

Montag, 6. April 2009, 14:22

Hello,

I've still problem with this files ... panomouswheelfix.js v2

Graydon, you have succesfully integrate this function with swfobjet 2.1 in a footer ?
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

18

Donnerstag, 9. April 2009, 03:13

I've not had any problems inserting panos into my joomla based site... without having the swfobject.js and swfkrpanomouswheelfix.js called in the "head" section of the html page.

If you were to look at the "source" for something like this page...

http://lake-houston.com/explore/explore-…a-grill?start=2

You can see that I've got two panos on the same page... and that both *.js are referenced within the body of the html.

I'm not an expert in joomla... just figure out enough to get stuff to work like I want (usually)... so I probably shouldn't have said that it will work for any site... since I've assumed that whatever shows up in source view is what the browser sees.

I've never used WP and so I can't comment specifically for how to set something up in that use... but if you have a current link to where you are having a problem I'll try to look at it and provide some suggestions... but I can't make any promises to how good they will be ;-)

Graydon

19

Donnerstag, 9. April 2009, 05:24

I like this solution http://viewat.org/

I also like this layout http://www.virtualnorge.com/virtuelle_turer.php

and this http://www.360lanzarote.com/index.html its great to see so many creative people.

I also like this http://pixelcase.com.au/

I would like to see a viewat.org type of solution for krpano

This guy does some nice wordpress themes brian

20

Donnerstag, 9. April 2009, 09:17

Ok Graydon, you put this line :

Quellcode

1
swfkrpanomousewheel.registerObject("swf1");


just after the swfobject.embedSWF( ... )

But I can't do this, because I use Kimili Flash Embed to embed the pano ...

My new site is now online : http://www.nicolasburtey.net, Could you have a look ? Klaus, maybe ?
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).