Re: Problem with "Player.settings.rate" in XP
From: Jim Travis [ms] (jtravis_at_online.microsoft.com)
Date: 04/22/04
- Previous message: The March Hare \(MVP\): "Re: WMPDVD protocol"
- In reply to: Jim Travis [ms]: "Re: Problem with "Player.settings.rate" in XP"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 22 Apr 2004 12:54:42 -0700
BTW, forgot to mention, your code should check
Player.settings.isAvailable("Rate").
-- Jim Travis Microsoft Corp. Windows Media Player SDK Download: http://msdn.microsoft.com/library/default.asp?url=/downloads/list/winmedia.asp Latest online: http://msdn.microsoft.com/library/en-us/wmplay/mmp_sdk/windowsmediaplayer9seriessdk.asp Please do not send email directly to this alias as this alias is for newsgroup purposes only. This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. © 2004 Microsoft Corporation. All rights reserved. "Jim Travis [ms]" <jtravis@online.microsoft.com> wrote in message news:eKDkDnBKEHA.808@tk2msftngp13.phx.gbl... > Different hardware and drivers. Check to see if you have the latest drivers > for your video and audio cards on XP. > > > -- > Jim Travis > Microsoft Corp. > Windows Media Player SDK > > Download: > http://msdn.microsoft.com/library/default.asp?url=/downloads/list/winmedia.asp > > Latest online: > http://msdn.microsoft.com/library/en-us/wmplay/mmp_sdk/windowsmediaplayer9seriessdk.asp > > Please do not send email directly to this alias as this alias is for > newsgroup purposes only. This posting is provided "AS IS" with no > warranties, and confers no rights. You assume all risk for your use. © 2004 > Microsoft Corporation. All rights reserved. > > "Brad" <anonymous@discussions.microsoft.com> wrote in message > news:25f101c427db$6866dfb0$a501280a@phx.gbl... > > Hi, > > > > I have a Windows Media Player Object embedded in an HTML > > file and a button below the Object that slows the playback > > rate down to 0.6 when pressed. The relevant code is below. > > > > This works fine in Win2K/WMP9 but not in WinXP/WMP9 with > > *exactly* the same code and media file. When I press the > > button in Win2K the video slows down as desired. When I > > press the same button in WinXP nothing happens. My other > > buttons (which change Player.controls.currentPosition) > > still work in XP. > > > > Looking at the WMP9 SDK I can't see any difference between > > how the "Player.settings.rate" property works under > > Win2K/WMP9 and WinXP/WMP9. I wonder if anyone can > > help/give suggestions?? > > > > Thanks, > > Brad. > > > > ----code---- > > > > <OBJECT ID="Player" > > CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" > > Style="margin:0; border:2 inset white;"> > > <PARAM name="autoStart" value="True"> > > <PARAM name="URL" value="D:\path\file.mpg"> > > <PARAM name="currentPosition" value="0"> > > </OBJECT> > > > > <button language="JScript" name="Fwd050" > > onmousedown="ForwardHalf()" onmouseup="PlayNormal()">Slow > > motion</button> > > > > function ForwardHalf () { > > Player.controls.pause() > > Player.settings.rate = 0.6 > > Player.controls.play() } > > > > function PlayNormal () { > > Player.controls.pause() > > Player.settings.rate = 1 > > Player.controls.play() } > >
- Previous message: The March Hare \(MVP\): "Re: WMPDVD protocol"
- In reply to: Jim Travis [ms]: "Re: Problem with "Player.settings.rate" in XP"
- Messages sorted by: [ date ] [ thread ]