Hi Sam,

On Dec 4, 2008, at 08:20 , Sam Dutton wrote:

> I'd like to be able to use functions like setTime() and setStartTime
> to control a QuickTime movie in Mobile Safari.
>
> This works fine on the desktop, but not on the iPhone.
>
> I take it from the reference documentation that this is not possible
> in a native application either:
>
> http://developer.apple.com/iphone/library/documentation/MediaPlayer/Reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html
>
> Is anything more than play() and stop() available for movies on the
> iPhone?


Here is what I believe to be an exhaustive list of media-related  
scripting features available in Safari on iPhone:

DOM Events:
qt_begin
qt_loadedmetadata
*qt_enterfullscreen
*qt_exitfullscreen
qt_canplay
qt_error
qt_play
qt_pause
qt_ended
qt_timechanged
qt_volumechange

JavaScript methods:
Play
Stop
GetRate
SetRate
SetURL
GetURL
*IsFullScreen
*EnterFullScreen
*ExitFullScreen

Asterisks are for features that are iPhone-specific. Alas, it does not  
look like SetTime and SetStartTime are available on the phone. You  
should file an enhancement request to Apple to let the responsible  
teams now.

Antoine

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to