I now am trying to use the Media player internal playlist feature but I am
getting stuck on what to put where I have the ??? in the code below. Can you
shed some light on what I need to do here?
+++
' add the two mp3's to media collection
AxWindowsMediaP layer1.mediaCol lection.add("Fi rst.mp3")
AxWindowsMediaP layer1.mediaCol lection.add("Se cond.mp3")
' create the new playlist
AxWindowsMediaP layer1.playlist Collection.newP laylist("MyProg ramMadePlaylist ")
' add the two mp3's to the new playlist
AxWindowsMediaP layer1.currentP laylist.appendI tem(???)
AxWindowsMediaP layer1.currentP laylist.appendI tem(???)
' will by default autoplay this playlist
AxWindowsMediaP layer1.currentP laylist =
AxWindowsMediaP layer1.playlist Collection.getB yName("MyProgra mMadePlaylist") .Item(0)
+++
"BobAchgill " wrote:
How can I best play several mp3 files one immediately after the other?
Will this tie up the AxWindowsMediaP layer1 instance such that I can't use
the instance again until the files finish playing or can I break out of this
"playlist" early?
Thanks!
Bob