Le 8 juin 2010 à 17:45, Paweł Kostecki a écrit : > Hi all, > > Is there any possibility of getting a current timecode of a QuickTime video > played on a web page (in QT plugin)? > > I mean a possibility similar to desktop [qtMovie currentTime] in Cocoa. > > What I need to do is to get a current slider timecode of a video played in QT > plugin within a web browser (eg. Safari). > > There's a QT browser plugin attribute STARTTIME, but this is an input > attribute. I need something similar but for the output from the plugin (so I > can read it eg. with JavaScript and know at which frame the video is > currently). > > I'm afraid that's not possible, but if anyone has a clue how to do it, I'd be > really grateful.
http://developer.apple.com/Mac/library/documentation/QuickTime/Conceptual/QTScripting_JavaScript/aQTScripting_Javascro_AIntro/Introduction%20to%20JavaScript%20QT.html int GetTime(): Get the current time of a movie. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com