PDA

View Full Version : Ways to Embed on html and php


Aifos
09-02-2007, 08:43 PM
Hi!!!
we all know the way to embed a panorama on a full browser window. like Denis shows here (http://http://flashpanoramas.com/blog/2006/11/21/best-html-code-to-embed-panorama/)
But, iґd like to know other ways to embed using html and php... using swfobject or not... technics, ideas, etc etc etc...
i saw immersive.fr (http://www.immersive.fr) source code is diferent
Virgin Blue (http://www.virginblue.com.au/getwhatyouwant/) is not full window
the same here (http://www.jazzfestblog.com/vt/view.php?id=sziget)

so.. i think there might be more ways...
this thread can be very useful for those who are looking for ways to make their web pages.

Other Theme:
Is tehere any way to embed the panorama and hide the xml source code directory?

One more Theme:
Can FPP panoramas be used like you tube videos to be embeded for anybody on any web page????... you know, you tube shares the embed code like <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/huNZDknadRc"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/huNZDknadRc" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
and what i want to do, is to let people put my panoramas on their blogs or web pages but not giving them the panorama files... just the embed code.




many thanks!

aifos

Aifos
09-04-2007, 05:08 AM
oh!! great!!!
look all that people posting shearing and helping!!!
wow!! when you ask for help, this forum is the answer...

jaaaab
09-04-2007, 08:20 AM
loool

hello aifos! FPP has a few members yet and the majority is not so experienced, so time to get an answer is quite long, particurlarly in the week end.

Well about the ways to embed panos:

to me swfobject is just a way to detect flash and give a link to the visitor if flash 9 isn't there, but you can embed your pano.swf as a simple flash content. It's not an obligation.

On immersive fr i used to have a single php file that generates the html embeding code, and i call it like that : index.php?pano=mypano, so i only have to modify a single file in case of improvements on the embedding code.

Obviously this technique has to be used with relative paths which is not really friendly.

then you can call the page directly or into a frame to display it on a web page.

That's all i can say!

Cheers.

cheathamlane
09-04-2007, 04:25 PM
Ha, yeah -- and there was a weekend involved -- and here, anyway, yesterday was a major holiday. Patience!

You might look at "lightwindow", as a way to "embed" other pages in your own page... They actually use my website as an example (funny!) of including another Web page.

http://www.stickmanlabs.com/lightwindow/#demos

Basically, it's using an iFrame.

Cheers,

Aifos
09-04-2007, 11:38 PM
oh! iґm sorry... that was me been very patience... ja!
so many thanks for the answers...
do you know any other forum about Php or programing?

and about the xml files... is there any way to hide them at the source code?
i mean... if people can have access to my xml files. then, they know the directory to my panos and can download, one by one, the cube faces, and all the files.

many thanks!

;)

cheathamlane
09-04-2007, 11:54 PM
oh! iґm sorry... that was me been very patience... ja!

:-)


do you know any other forum about Php or programing?

and about the xml files... is there any way to hide them at the source code?
i mean... if people can have access to my xml files. then, they know the directory to my panos and can download, one by one, the cube faces, and all the files.

many thanks!

;)

An excellent resource for all things PHP is http://www.zend.org/ . Look for the "developer zone" menubar item, and check it out.

Yes, using PHP and sessions, you could make it more difficult for people to get to your XML files. You can also store things outside of your Web server's root, and pull them in using scripts, making it more difficult to get to them. Of course, most of these things end up in your browser's cache, so people can get them from there, too...

My hope is that Denis will come up with an encryption solution in his spare time. =:-)

Cheers,

Aifos
09-05-2007, 03:11 AM
please Denis!!! encrypt us!!!!