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: Getting the H & W of a QuickTime movie via Javascript




On Apr 2, 2007, at 4:55 AM, Frank Lowney wrote:

A short while back there was a pretty vigorous discussion here on how to simplify the inclusion of QuickTime movies in a web page context (as opposed to simply using an HREF to open the movie in a new window). The AC_Quicktime.js and Objecty.js strategies were prominent in that discussion.

However, both approaches require the author to set the height and width.

In another discussion the expression:

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

... so is there a document.qtplayerGettRectangle such that one could discover the native size of a movie is and script accordingly?

Yes. Open http://developer.apple.com/documentation/QuickTime/Conceptual/QTScripting_JavaScript/index.html?http://developer.apple.com/documentation/QuickTime/Conceptual/QTScripting_JavaScript/bQTScripting_JavaScri_Document/chapter_1000_section_6.html#/ /apple_ref/doc/uid/TP40001526-CH001-MovieProperties and scroll down the "Rectangle".

eric


_______________________________________________ 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: 
 >Getting the H & W of a QuickTime movie via Javascript (From: Frank Lowney <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.