Difference between revisions of "HTML code for several viewers"

From PanoTools.org Wiki
Jump to: navigation, search
m (categorized)
m (marked as incomplete)
 
(7 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
Replace "movie.mov" with the file name of your quicktime file.
 
Replace "movie.mov" with the file name of your quicktime file.
  
<pre>
+
<source lang="html">
 
<html>
 
<html>
 
<script>
 
<script>
Line 16: Line 16:
 
</script>
 
</script>
 
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0">
 
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0">
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="100%" height="100%">
+
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"  
 +
            codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="100%" height="100%">
 
         <param name="bgcolor" value="#eeeeee">
 
         <param name="bgcolor" value="#eeeeee">
 
         <param name="kioskmode" value="true">
 
         <param name="kioskmode" value="true">
Line 24: Line 25:
 
         <param name="src" value="movie.mov">
 
         <param name="src" value="movie.mov">
  
         <embed src="movie.mov" width="100%" height="100%" bgcolor="#eeeeee" kioskmode="true" scale="tofit" controller="false" cache="false"></embed>
+
         <embed src="movie.mov" width="100%" height="100%" bgcolor="#eeeeee" kioskmode="true"
 +
            scale="tofit" controller="false" cache="false"></embed>
 
</object>
 
</object>
 
</body>
 
</body>
 
</html>
 
</html>
</pre>
+
</source>
 +
 
 +
More on QTVR EMBED andOBJECT paramters on http://www.apple.com/quicktime/tutorials/embed.html
  
 
To make sure that Firefox displays it right, set the first line of your html code to for instance:
 
To make sure that Firefox displays it right, set the first line of your html code to for instance:
Line 44: Line 48:
 
FIXME
 
FIXME
  
[[Category:Tutorial]][[Category:Tutorial:Basic need]]
+
[[Category:Tutorial:Basic need]]
 +
 
 +
{{Incomplete}}

Latest revision as of 22:05, 21 September 2008

Quicktime

Fullscreen

This tells a quicktime movie to use the full width and height of the screen. Replace "movie.mov" with the file name of your quicktime file.

<source lang="html"> <html> <script> </script> <body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0"> <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"

           codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="100%" height="100%">
       <param name="bgcolor" value="#eeeeee">
       <param name="kioskmode" value="true">
       <param name="scale" value="tofit">
       <param name="controller" value="false">
       <param name="cache" value="false">
       <param name="src" value="movie.mov">
       <embed src="movie.mov" width="100%" height="100%" bgcolor="#eeeeee" kioskmode="true"
           scale="tofit" controller="false" cache="false"></embed>

</object> </body> </html> </source>

More on QTVR EMBED andOBJECT paramters on http://www.apple.com/quicktime/tutorials/embed.html

To make sure that Firefox displays it right, set the first line of your html code to for instance:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Otherwise your panorama will be displayed like a small horizontal strip.

PTViewer

Fullscreen

you don't want to make a java window fullscreen if you ask me. It would take way too much cpu power.

Windowed

FIXME

This article is incomplete. You can help Panotools Wiki by expanding it.

Once the article is ok feel free to remove the {{Incomplete}} template