Insert swf into drupal  

Share your tips and tricks here or get help with any Autopano Tour problem!
No bug reports (of any kind) in this forum!
no avatar
doceave
Member
 
Posts: 67
Joined: Tue Feb 16, 2010 11:32 am
Location: South Africa

Insert swf into drupal

by doceave » Sun Mar 21, 2010 10:00 pm

Quick question...

I have a multi-site license and I want to embed a swf generated by APT into my drupal site. How do I do this?

I have tried many methods with best result - I have a black box which brings up error messages "ERROR: download of "Panoramic - Hout Bay Harbour/Pano - Hout Bay Harbour0/0/0_0.jpg" failed.

no avatar
Adrien F
Member
 
Posts: 264
Joined: Fri Jul 03, 2009 9:18 am

by Adrien F » Mon Mar 22, 2010 11:26 am

Basics about web publishing : http://www.autopano.net/wiki-en/action/view/Web_publishing
Make sure you uploaded all the pictures on your server and the file hierarchy is respected. Also verify the right access on your pictures (read access at least).

no avatar
klausesser
Member
 
Posts: 7886
Joined: Mon May 22, 2006 12:18 am
Location: Duesseldorf, Germany

by klausesser » Mon Mar 22, 2010 12:39 pm

doceave wrote:Quick question...

I have a multi-site license and I want to embed a swf generated by APT into my drupal site. How do I do this?

I have tried many methods with best result - I have a black box which brings up error messages "ERROR: download of "Panoramic - Hout Bay Harbour/Pano - Hout Bay Harbour0/0/0_0.jpg" failed.

Do you really have spaces in the filenames?

best, Klaus
Simplicity is the keynote of all true elegance. Coco Chanel

no avatar
doceave
Member
 
Posts: 67
Joined: Tue Feb 16, 2010 11:32 am
Location: South Africa

by doceave » Mon Mar 22, 2010 3:22 pm

Yip...real spaces...

Perhaps that is the issue? I'll make new tours with _ instead and see if that helps.

no avatar
doceave
Member
 
Posts: 67
Joined: Tue Feb 16, 2010 11:32 am
Location: South Africa

by doceave » Mon Mar 22, 2010 3:25 pm

Does my KrPano license file not need to be loaded somewhere near the swf file?

no avatar
Adrien F
Member
 
Posts: 264
Joined: Fri Jul 03, 2009 9:18 am

by Adrien F » Tue Mar 23, 2010 9:28 am

the krpano licence is embedded into the swf file by Autopano Tour.

no avatar
doceave
Member
 
Posts: 67
Joined: Tue Feb 16, 2010 11:32 am
Location: South Africa

by doceave » Sun Mar 28, 2010 3:23 pm

I'm still having issues...

Pano opens perfectly if I place the URL of the swf in the browser, but embedded in drupal there's no joy.

Just brings up a black screen with errors as described above.

What am I doing wrong?

no avatar
doceave
Member
 
Posts: 67
Joined: Tue Feb 16, 2010 11:32 am
Location: South Africa

by doceave » Sun Mar 28, 2010 3:27 pm

In Wordpress there is the same problem...

no avatar
doceave
Member
 
Posts: 67
Joined: Tue Feb 16, 2010 11:32 am
Location: South Africa

by doceave » Sun Mar 28, 2010 3:31 pm

Now i'm getting "ERROR: Security Error - "<path>""

no avatar
doceave
Member
 
Posts: 67
Joined: Tue Feb 16, 2010 11:32 am
Location: South Africa

by doceave » Sun Mar 28, 2010 3:41 pm

Ok - works will embedded data... arr... **frustrate

no avatar
Adrien F
Member
 
Posts: 264
Joined: Fri Jul 03, 2009 9:18 am

by Adrien F » Mon Mar 29, 2010 11:02 am

We think your problem is due to the execution path : drupal, wordpress and all those framework are a php file being executed in a certain folder A/. When calling a swf object located in B/, the later will consider being executed in A, thus looking for A/panodata/.
Try running your page with firebug plugin turned on (on firefox) so you can see which files it intend to download.
Did you try to specify the hard-coded folder containing ressources with the base parameter of the [font=monospaced]embed[/font] tag in your HTML?
I recommend you ask on krpano forum whether there is a way to specify the swf file to look in its own directory, or maybe on drupal forum on how to embed a swf file with external resources.

no avatar
ememiks
Member
 
Posts: 13
Joined: Thu Nov 19, 2009 5:47 pm

by ememiks » Wed Mar 31, 2010 11:14 am

Hi, permanent solution is to locate your all files in the same directory with index.php. For example; index.php, pano.swf, panodata, pano0.xml... files should be in same directory. Then your pano.swf will work.It does the trick but if you would upload so many virtual tours then you may be confused:) That's the side effect.

no avatar
doceave
Member
 
Posts: 67
Joined: Tue Feb 16, 2010 11:32 am
Location: South Africa

by doceave » Wed Mar 31, 2010 11:20 am

@ememiks: Are not familiar with the open source program called Gallery (www.gallery2.org)?

no avatar
doceave
Member
 
Posts: 67
Joined: Tue Feb 16, 2010 11:32 am
Location: South Africa

by doceave » Wed Mar 31, 2010 11:22 am

*are you


Return to Archive

Who is online

Users browsing this forum: No registered users and 1 guest