DevalVR support

 

It is currently Sat May 25, 2013 3:58 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Basic page template
PostPosted: Fri Jan 20, 2006 2:55 am 
Offline

Joined: Fri Jan 20, 2006 2:49 am
Posts: 5
Is there a basic page available anywhere that I could use as a template.
I would want it to have one thumbnail and a link to one pano. Hopefully it would have the html to test and install the Deval viewer. If the user already has QT installed then I would like it to skip the Deval viewer and just maybe offer it as a option. With this page maybe I could just cut and paste it into a exsisting page template.
I am no HTML person at all and I rely on Golive CS2 to build my web pages.

Thanks,

Bazzer


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 9:04 pm 
Offline

Joined: Fri Jan 20, 2006 2:49 am
Posts: 5
Doesn't anyone have a simple page as a example with one thumnail and detection code?

Barry


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 8:37 pm 
Offline
I only was walking somewhere...
User avatar

Joined: Tue Aug 09, 2005 1:55 am
Posts: 2007
Hi Bazzer, sorry, I was offline some days.

I made this example for you http://www.devalvr.com/fiero/thumbnails.zip (1.7 MB). In this example, the thumbnails are in thumbnails.html file. The links access to QT pages name_qt.html , and the QT pages have the Javascript code for QT-DevalVR detection.

The file detectqt.js must be in the same directory that html files.

If QuickTime is not installed, the Javascript code loads the page setted in openvrpage function. If any plugin is not installed, the code opens the Installing page (this page can be the same that DevalVR page, to install DevalVR). This is the syntax of this function:

openvrpage(DevalVR page, Installing page);

example:

openvrpage("hotel_devalvr.html","hotel_devalvr.html");

You can see this Javascript code in home_qt.html and hotel_qt.html files.

You can request me any modification of this example or any other issue.

regards!


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Wed Jan 25, 2006 2:56 am 
Offline

Joined: Fri Jan 20, 2006 2:49 am
Posts: 5
Fiero,
Very many thanks, this is just what I needed. I'll put up a page later using this as my template.
The Deval viewer is way better for pano's than QT. But there is not much point of downloading the Deval Viewer if the user already has QT. but I may well put a note that the D V is better and can be downloaded from.....

I do have one question though, if I have both QT and D V installed which is used by default? Or can this be determined with the detection code?

Bazzer


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 25, 2006 1:52 pm 
Offline
I only was walking somewhere...
User avatar

Joined: Tue Aug 09, 2005 1:55 am
Posts: 2007
Bazzer,
If both QT and DevalVR are installed, QT is loadig in that example. In the detectqt.js file, you can see these lines at the end of the file:
Code:
   if(pluginQTInstalled==0)
   {
      if(pluginDevalVRInstalled)
      {
         //Jump to DevalVR page
         window.location.replace(devalVRpage);
      }
      else
      {
         //Jump to installation page
         window.location.replace(installpage);
      }
   }


You can replace these lines by this code, more clear:
Code:
   if(pluginQTInstalled)
   {
      //Do nothing, continue in this page
   }
   else if(pluginDevalVRInstalled)
   {
      //Jump to DevalVR page
      window.location.replace(devalVRpage);
   }
   else
   {
      //Jump to installation page
      window.location.replace(installpage);
   }


If you change the order of the comparing lines you can make DevalVR by default:

Code:
   if(pluginDevalVRInstalled)
   {
      //Jump to DevalVR page
      window.location.replace(devalVRpage);
   }
   else if(pluginQTInstalled)
   {
      //Do nothing, continue in this page
   }
   else
   {
      //Jump to installation page
      window.location.replace(installpage);
   }


regards


Top
 Profile E-mail  
 
 Post subject: basic template
PostPosted: Sat Jan 28, 2006 4:29 am 
Offline

Joined: Fri Jan 20, 2006 2:49 am
Posts: 5
Fiero,
I have uploaded the files you made to http://www.360panographer.com/thumbnails.html using the first version that you published. It works ok until I lick on the "To view DevalVR version click her" I get a error saying that thed *.mov file is not found. the corresponding .mov is ok with QT. The browser is IE and it does not have your plugin installed yet.
Any ideas?

Barry


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 28, 2006 3:10 pm 
Offline
I only was walking somewhere...
User avatar

Joined: Tue Aug 09, 2005 1:55 am
Posts: 2007
I think this is because the space in the folder name "Deval Example". What happen if you change the name to "DevalExample" ?

I will fix this problem with spaces for the next version...


Last edited by fiero on Sat Jan 28, 2006 9:50 pm, edited 1 time in total.

Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sat Jan 28, 2006 8:22 pm 
Offline

Joined: Fri Jan 20, 2006 2:49 am
Posts: 5
Fiero,
Thanks, that fixed the problem. Now to try making some of my own pages!

Barry


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group