Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
mac
excel.macintosh
frontpage.mac
inetexplorer.mac
internet.mail.mac
internet.news.mac
mac.entourage
mac.excel
mac.explorer
mac.mediaplayer
mac.messenger
mac.office
mac.otherproducts
mac.powerpoint
mac.rdc
mac.virtualpc
mac.word
macintosh.general
media.player.mac
messenger.mac
office.mac
office.mac.entourage
outlook.mac
outlookexpress.mac
win2000.macintosh
windowsnt.mac
word.macword2001
  
 
date: Wed, 16 Apr 2008 14:41:04 -0700,    group: microsoft.public.windowsmedia.player.mac        back       


Display currentPositionString   
Hi,

I can't find a way to display "currentPosition" or "currentPositionString" 
below my player... 

I found this piece of code but I don't know how to make it work (I'm new to 
javascript)...

var timer = window.setInterval("MyText.value = 
Player.controls.currentPositionString",1000); 

Any example ?

Thanks in advance.
date: Wed, 16 Apr 2008 14:41:04 -0700   author:   Mateo

Re: Display currentPositionString   
On Wed, 16 Apr 2008 14:41:04 -0700, Mateo
 wrote:

>Hi,
>
>I can't find a way to display "currentPosition" or "currentPositionString" 
>below my player... 
>
>I found this piece of code but I don't know how to make it work (I'm new to 
>javascript)...
>
>var timer = window.setInterval("MyText.value = 
>Player.controls.currentPositionString",1000); 
>
>Any example ?


Media player for Mac doesn't support using javascript for scripting
the embedded player, sorry. The full list of functionality for that
(now discontinued) player is on this page :

http://www.microsoft.com/windows/windowsmedia/howto/articles/macicp.aspx

You may instead be able to suggest to your users to install Flip4Mac
codecs for Quicktime player, and script against that instead.

HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2008
http://mvp.support.microsoft.com/mvpfaqs
date: Fri, 25 Apr 2008 20:25:24 GMT   author:   Neil Smith [MVP Digital Media]

Re: Display currentPositionString   
Hi Neil,

thanks for this information. However I'm still interested in developping 
something with WMP (for pc users ;-)).
Would javascript work for Firefox users ?

Be it as it may, could you give me an example of the javascript code to 
display currentposition on my page (without having to click a button) ?

Thx again
Mat.
date: Fri, 25 Apr 2008 15:16:01 -0700   author:   Mateo

Re: Display currentPositionString   
Hi Neil,

thanks for your answer.
I'd still like to do something with javascript and WMP, for pc users. Will 
it work for Mozilla Firefox ?

Be as it may, could you give me an example of the js code ?

Thanks again,
Mat.

ps: I wish to display the currentPosition "dynamically" (without having to 
click a button).
date: Fri, 25 Apr 2008 15:26:00 -0700   author:   Mateo

Re: Display currentPositionString   
On Fri, 25 Apr 2008 15:26:00 -0700, Mateo
 wrote:

>Hi Neil,
>
>thanks for your answer.
>I'd still like to do something with javascript and WMP, for pc users. Will 
>it work for Mozilla Firefox ?
>
>Be as it may, could you give me an example of the js code ?
>
>Thanks again,
>Mat.
>
>ps: I wish to display the currentPosition "dynamically" (without having to 
>click a button). 

Are you also posting as 'max.mazzeschi' in the newsgroup
microsoft.public.windowsmedia.web ? That happens to be the best place
to discuss this, and there's another almost identical question over
there which I posted a generic answer yesterday.

Firefox users should be using the Port25 WMP plugin from here :
http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx

Scripting using the old netscape style plugin is a PITA and mostly
non-functional.

HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2008
http://mvp.support.microsoft.com/mvpfaqs
date: Wed, 30 Apr 2008 18:45:43 GMT   author:   Neil Smith [MVP Digital Media]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us