Autor Beitrag
zero_cool1986
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 95

MS DOS ;)
D6
BeitragVerfasst: Mi 24.08.05 16:45 
hi ich bekomme es nicht hin das wenn ich ein video öffne der das in der gleichen form öffnet er macht da ein extra fenster das man noch nichtmal vergrößern kann
Ironwulf
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 733
Erhaltene Danke: 2



BeitragVerfasst: Mi 24.08.05 17:01 
ich geh mal von aus das du die TMediaPlayer komponente verwendest...

setz dann einfach noch ein Panel auf die Form
und einfach das irgendwo einfügen, am besten in die Form.Create
ausblenden Delphi-Quelltext
1:
2:
MediaPlayer1.Display:=panel1;
MediaPlayer1.DisplayRect:=Panel1.ClientRect; //bewirkt das das bild so groß ist wie das Panel...


Moderiert von user profile iconAXMD: Code- durch Delphi-Tags ersetzt.
zero_cool1986 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 95

MS DOS ;)
D6
BeitragVerfasst: Mi 24.08.05 17:21 
also er zeigt es jetz im Panel an aber die größe ist immer noch gleich sprich das video is nicht so groß wie das pennel... :roll:
Ironwulf
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 733
Erhaltene Danke: 2



BeitragVerfasst: Mi 24.08.05 18:07 
mmh...
kurios das sollte es aber eigentlich, bei mir zeiht der durch die 2. zeile das video so groß, wie das panel und wenn ichs weglass isses weng kleiner...
Fabian W.
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Mi 24.08.05 18:23 
ausblenden Delphi-Quelltext
1:
Mediaplayer1.displayrect := rect(0,0,Panel.widht,Panel.height);					

Code is net gesestet sollte aber gehen.
zero_cool1986 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 95

MS DOS ;)
D6
BeitragVerfasst: Do 25.08.05 19:41 
Die größe passt sich immer noch nich an ach ich weiß nich er zeigt aber auch keinen fehler an :roll:
Fabian W.
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Fr 26.08.05 08:21 
Achso, ja. Versuch mal vorher den Player zu schließen, und nach der Rect änderung wieder zu öffnen.
mp.close mp.open dann sollte auch der von user profile iconIronwulf gepostete Code gehen.