Scale QTVR in HTML?

windows

Guest
What's the best way to scale a QTVR movie in html? This is what it says on the Apple site...<br />
<br />
----<br />
<br />
SCALE=value (optional...requires QuickTime 3) <br />
SCALE is either TOFIT, ASPECT or a number. By default the value of SCALE is 1. If set to TOFIT, the movie is scaled to fit the embedded box as specified by the HEIGHT and WIDTH attributes. If this is set to ASPECT, the movie will scale to fit the embedded box while maintaining the aspect ratio. If this is set with a number, the movie will be scaled by that number (e.g. 1.5). Note: Using the number scale attribute with a QTVR Panorama movie can degrade the performance of the movie even on high-end systems.<br />
<br />
For example:<br />
<br />
<embed src=http://www.webdeveloper.com/forum/archive/index.php/"sample.mov" width="200" height="240" scale="tofit"><br />
<br />
----<br />
<br />
But it's not working for my client in IE on Windows (it works on Mac Safari and IE though).<br />
<br />
Here's an example of the problem... <!-- m --><a class="postlink" href="http://www.zen12165.zen.co.uk/files/gmj/heron_qtvr/index.html">http://www.zen12165.zen.co.uk/files/gmj ... index.html</a><!-- m --> <br />
<br />
Any ideas?<br />
<br />
Thanks,<br />
Andy<!--content-->Apple Computers don't seem to give you good advice in that sense just use the width values of either the <object> or proprietary <embed /> and in general the movie will fill those dimensions.<!--content-->Thanks Robert, I'd already done that though, the width and height in both the object and embed tags are set to the desired size but I'm told it's not working (I'm on Mac, client is on Win XP).<br />
<br />
If you have a minute the link to the offending page is in my original post.<!--content-->Works a treat in IE6 on WinXP - although I had to Download <!--more--> quicktime and update an activeX component before it would work. Where was it taken - looks like a big shopping centre!<!--content-->Is the QTVR scaling to fill the popup window?<br />
<br />
The QTVR was produced by a company called GMJ Design, they do 3D visuals of buildings for developers and architects, it's of an office block in London called CityPoint. I built this site for GMJ last year... <!-- m --><a class="postlink" href="http://www.gmj.net">http://www.gmj.net</a><!-- m --><!--content-->Oh right I see. No, it's got a broad white border around it. Does it need to fill it?<!--content-->Yep, thats the idea. The QTVR is only 480 x 320 when viewed in QT Player but it's supposed to scale up in the browser window.<br />
<br />
It works fine on Mac (I've checked it in Netscape, Safari and IE) but doesn't scale in IE on Windows.<br />
<br />
Here's the source I've embedded it with...<br />
<br />
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="852" height="568" codebase="http://www.apple.com/qtactivex/qtplugin.cab"><br />
<param name="src" value="bishopsgate.mov" /><br />
<param name="autoplay" value="true" /><br />
<param name="controller" value="true" /><br />
<embed src=http://www.webdeveloper.com/forum/archive/index.php/"bishopsgate.mov" width="852" height="568" scale="tofit" autoplay="true" controller="true" pluginspace="http://quicktime.apple.com/" /><!--content-->So even when you change the widths of the movie to match the window it doesn't work?<br />
<br />
Have you tried % widths for the movie? I don't have any .mov files to try it with, so it's just a guess. Other than that it must be in the coding of the .mov file. <br />
<br />
I know that .avi files scale to the dimensions you enter for the object element.<!--content-->Ok, I've rewritten the embed info and it's working fine in all Mac browsers, please could you take a look again from a PC and see if the QTVR is filling the popup window...<br />
<br />
<!-- m --><a class="postlink" href="http://www.zen12165.zen.co.uk/files/gmj/heron_qtvr/index.html">http://www.zen12165.zen.co.uk/files/gmj ... index.html</a><!-- m --><br />
<br />
Thanks for your help, hopefully it'll be ok now.<!--content-->Yup - it sure does!<!--content-->Cheers Dave, success at last! I think it was because I'd used both 'object' and 'embed' tags and one was interfering with the other.<!--content-->
 
Back
Top