Autor Beitrag
Biarchiv
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 688



BeitragVerfasst: Sa 26.02.11 15:15 
Hallo,

hab die ActiveX von MediaPlayer9 importiert. Versuche diese nun ein XP und Vista eine mpeg abzuspielen.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
    WMedia := TWindowsMediaPlayer.Create(SELF);
    WMedia.url := 'c:\test.mpeg';
    WMedia.Visible := True;
    WMedia.Settings.AutoStart := TRUE;
    WMedia.Show;
    WMedia.Controls.Play;


Allerdings kommt das die Datei eine Erweiterung (.) aufweist. Diese kann bei JA nicht abgespielt werden. Wenn ich aber per Doppeltklick die mpeg starte läuft sie.