Prev: vbScript Editor with Intellisense
Next: tutorials
From: Ducati on 18 Feb 2010 15:15 thanks for that I still need to let it play though (at least for a second or two) because it is the only way I can validate if the file actually exists. "Reventlov" wrote: > Il giorno Fri, 12 Feb 2010 15:12:01 -0800, =?Utf-8?B?RHVjYXRp?= > <Ducati(a)discussions.microsoft.com> ha scritto: > > >It not only loads the file, but it actually starts playing it in the > >background (at least the Audio). > >When I run my script on a good url, as soon as it gets to objWMP.url = > >strURL , I start hearing the Audio of the Video stream (but no Video > >display), and it plays until I do an objWMP.close. > > Settings.autoStart > The autoStart property specifies or retrieves a value indicating whether the current media > item begins playing automatically. > > Syntax > > player.settings.autoStart > > Possible Values > > This property is a read/write Boolean. > true Default. The media item begins playing automatically. > false The media item does not begin playing automatically. > > Remarks > > If autoStart is set to true, the media clip will begin playing as soon as Player.URL or > Player.currentMedia is set. Otherwise, it will not start playing until the > player.controls.play method is called. > > Because the autoStart property can be set globally by external events (such as loading a > CD), you should set autoStart to false immediately before you set Player.URL or > Player.currentMedia if you wish to ensure that the media item does not start playing > immediately. > > -- > Giovanni Cenati (Bergamo, Italy) > Write to "Reventlov" at katamail com > http://digilander.libero.it/Cenati (Esempi e programmi in VbScript) > -- > . > |