Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Media player
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
01046392
Message ID:
01046396
Vues:
23
>I've been trying to expand my understanding of automation by playing around with Calvin Hsia's solutions sample of the FoxMediaPlayer. What I can't figure out is if I wanted to construct and send a playlist to the WMP rather than a single song title, how would I do it. Specifically, what would be the form of the playlist and how to delineate the titles, and second how would you launch the playlist? I thought I could get some help via the object browser but alas with my limited knowledge of the subject it was of no help.
>
>Also, to abandon the sample program and start from scratch, I can oWMP = createobject('WMPlayer.ocx') to get it started but I can't even figure out how to make it visible. (Maybe that's the wrong object to launch?)
>
>Any insights will be appreciated.

I don't have it at hand but there is a complete MediaPlayer SDK on the MS-Site. I looked at it a short while ago and remember Playlists being Collections with their own methods. So You could do something like
oMediaPlayer.Playlists.Add("My New Playlist")
and then add items.

.... just looked it up. You can find the SDK here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/windowsmediaplayer10sdk.asp


... Here You find anything about the MediaLibrary and playlists

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/workingwithmedialibrary.asp
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform