home

Topics Topics Edit Profile Profile Help/Instructions Help Register Register  
Search Last 1 | 3 | 7 Days Search Search Tree View Tree View  

Strange behaviour on QTVR panoramas

The Panorama Factory Forum » The Panorama Factory FAQ » Strange behaviour on QTVR panoramas « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Mirko Bruni
New member
Username: Mik_italy

Post Number: 1
Registered: 3-2006
Posted on Wednesday, March 29, 2006 - 8:47 am:   Edit PostDelete Post

First of all sorry for my English (I'm Italian) and congratulations for the program!

I did some .mov panoramas and put them on web-pages. When saving them in PF4.1 I choose "Auto-rotate" option and I verified panoramas really auto-rotate. But now, when I visit the pages on the net, panoramas don't auto-rotate or auto-rotate only after I reload the page for 4/5 times. Instead, If I view pages off-line panoramas auto-rotate every time, even at first loading. Why?

(Message edited by mik_italy on March 29, 2006)
Top of pagePrevious messageNext messageBottom of page Link to this message

John Strait
Moderator
Username: Jstrait

Post Number: 255
Registered: 5-2001
Posted on Wednesday, March 29, 2006 - 9:53 am:   Edit PostDelete Post

There is no need to apologize--your English is excellent!

PF's auto-rotate for MOV format is done by adding Javascript code to the web page. If you disable Javascript through the Internet Options command in Internet Explorer's Tools menu then auto-rotate won't work. The Security settings can be different for local web pages than for Internet web pages, so this might explain why the page behaves differently when you visit the pages on the web.

However, then it would probably always behave the same way, not work sometimes and fail sometimes.

Can you tell me a web address that shows the problem with auto-rotate? That might help me determine what is happening.
Top of pagePrevious messageNext messageBottom of page Link to this message

Mirko Bruni
New member
Username: Mik_italy

Post Number: 2
Registered: 3-2006
Posted on Wednesday, March 29, 2006 - 2:14 pm:   Edit PostDelete Post

Go to this page: http://www.solda2000.com/panormoven.htm and select one of 360 panoramas. In my computer both local and internet pages have the same security settings: all javascript enabled, all other things enabled! This "problem" occours on my home PC, job pc and also job pc of my girlfriend...don't know on others...
As you can see from HTML code I deleted two lines to avoid stopping rotation passing mouse over image. I also modified the number that control rotation speed to slow the rotation.

I don't know very well HTML code, but IMHO I think that there's something "wrong" in the line that starts with:

"document.beltovo2.autopan = window.setInterval"

or maybe there is a conflict with other javascript functions of the page: something that causes a different behaviour between online and offline navigation.



(Message edited by mik_italy on March 29, 2006)

(Message edited by mik_italy on March 29, 2006)
Top of pagePrevious messageNext messageBottom of page Link to this message

John Strait
Moderator
Username: Jstrait

Post Number: 256
Registered: 5-2001
Posted on Wednesday, March 29, 2006 - 4:02 pm:   Edit PostDelete Post

Thanks for showing me your panoramas. I have found the problem and I can give you a correction for it.

This problem appears to happen only when the panorama opens in a new browser window. If the panorama opens in a window that already exists, the problem does not seem to happen.

You were correct that the problem is in the line containing "autopan=".

To fix the problem, insert the red items into the line. Be sure to enter the ID of your panorama in place of the letters "ID". In the sample line you posted, the ID of your panorama is "beltovo2".

document.ID.autopan = window.setInterval('{var d = new Date();if (document.ID.GetPluginStatus()=="Complete"){document.ID.SetPanAngle(document.ID.GetPanAngle()+(d.getTime()-document.ID.autotime)/-41.67);document.ID.autotime=d.getTime()}}',25);

Please post back here to let me know if this fixes the problem for you. We will include this change in the next release of The Panorama Factory.
Top of pagePrevious messageNext messageBottom of page Link to this message

Mirko Bruni
New member
Username: Mik_italy

Post Number: 3
Registered: 3-2006
Posted on Thursday, March 30, 2006 - 1:37 am:   Edit PostDelete Post

Thanks for the help! I'll try to fix the problem this evening at home (now in Italy it's 8:33am...) and then I'll let you know if it will work!
Top of pagePrevious messageNext messageBottom of page Link to this message

Mirko Bruni
New member
Username: Mik_italy

Post Number: 4
Registered: 3-2006
Posted on Thursday, March 30, 2006 - 11:59 am:   Edit PostDelete Post

Well...now it seems to work very well! I'm very satisfied and you can check the final result at the previous link.
Thanks again!

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Administration Administration Log Out Log Out   Previous Page Previous Page Next Page Next Page