Mike
10/7/2006 1:52:00 PM
The following code plays the playlist thourgh IRB in FXRI, but playback
doesn't start when using IRB from the command line.
oPlayer = WIN32OLE.new("WMPlayer.ocx.7")
oPlayer.Settings.autoStart = 1
oPlayListCollection = oPlayer.PlayListCollection.GetAll()
oPlayer.currentPlaylist = oPlayListCollection.item(0) #plays in FXRI,
nothing happens in IRB
also
oPlayer.Controls.play # doesn't work in IRB either.
I'm a newbie, so maybe I'm missing something obvious? any thoughts
appreciated.