Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to determine a QT Movie's normal height & width




On Apr 12, 2006, at 1:50 PM, David Reaugh wrote:

thanks for the idea here but how do you implement the javascript quide doesn't give an example

If I want a 640X 480 size what do I put where the ?????'s are

  Try something like:

    document.qtplayer.SetRectangle("0,0,640,480")

eric



thanks



I have a function that replaces a QT plugin with other movies but I loose my scale

function SetURL2(idx)
{
document.getElementById ("currcliplabel").firstChild.nodeValue=idx+1;
document.qtplayer.SetURL(sua[idx]);
document.qtplayer.SetRectangle(??????)
document.qtplayer.SetTarget("_blank");
document.qtplayer.SetHREF(sua[idx])
document.qtplayer.SetIsLooping(true);
curIdx = idx;
}


On Sep 27, 2005, at 2:19 PM, Eric Carlson wrote:


On Sep 27, 2005, at 5:25 AM, Dick Applebaum wrote:

I want to scale different-sized QT movies so each will play in a fixed-size preview frame in a web page, using JavaScript.

I know how to do the scaling with SetMatrix().

But I don't know to determine the "Normal Size" (Height & Width) of the move. I need this information so I can compute the scale factors for the matrix.

If you use the "SetRectangle" method you won't have to deal with the matrix directly.

Eric Carlson
QuickTime Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-users/dreaugh% 40mac.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-users/email@hidden

This email sent to email@hidden
References: 
 >Re: How to determine a QT Movie's normal height & width (From: David Reaugh <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.