Before ~ After

Special forum to share and discuss skins for Pano2VR and Object2VR
HMS Beagle
Posts: 104
Joined: Fri Mar 06, 2009 10:40 pm

I just tried it again, with panos named left.swf and right.swf, those panos show but no sync. Naming them pano_left.swf and pano_right.swf gives no panos displayed.
Do I have to prep my panos in some specific way?
Beagle
smooth
Posts: 1493
Joined: Sat Sep 09, 2006 7:30 pm

Beagle,

I just copied the code directly from the Pano2VR web page and added my own left.swf and right.swf and all works fine.
Then I tested various browsers.

I guess you are using Firefox browser?
I just tested the code in all browsers I have installed and all worked except Firefox

Opera 11.51, Safari 5.1.1, Internet Explorer 9.08112, Chrome 15.0.874.106 m = No Problem
Firefox 7.01 = Problem

Regards, Smooth 8)
Image
HMS Beagle
Posts: 104
Joined: Fri Mar 06, 2009 10:40 pm

Smooth,
Thank you. Yes I am on firefox. Too bad it doesn't work on FF
Beagle
smooth
Posts: 1493
Joined: Sat Sep 09, 2006 7:30 pm

Hmm,

If you remove the doc type from the html code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Then it works with FF.

Maybe there is an official way to fix this with an updated doc type?
Obviously something is not compliant with Firefox.

Regards, Smooth 8)
Image
ksraghavendra
Posts: 39
Joined: Tue Aug 10, 2010 8:09 am
Location: Hyderabad, India
Contact:

Hi,
Thanks Thomas & Smooth for the code & fixes. Small issue- I am unable to interact with the pano on the right, seems very stubborn to respond :lol: Anyone else facing the same issue? Working url is below-
http://raghav.dreamvizag.com/gnome/sync/sync.html
Regards,
Raghav
Jack of all Trades at 36ty Solutions, India
ksraghavendra
Posts: 39
Joined: Tue Aug 10, 2010 8:09 am
Location: Hyderabad, India
Contact:

I repeated the code after try{ and inverted the lefts & rights, it works but not very smooth.
It can be found here-
http://raghav.dreamvizag.com/gnome/sync/sync2.html

Code: Select all

try {
pano_right.setPan(pano_left.getPan());
pano_right.setTilt(pano_left.getTilt());
pano_right.setFov(pano_left.getFov());
pano_left.setPan(pano_right.getPan());
pano_left.setTilt(pano_right.getTilt());
pano_left.setFov(pano_right.getFov());
}
Any better way to go about with this?
Regards,
Raghav
Jack of all Trades at 36ty Solutions, India
Post Reply