Autor Beitrag
Daniel_100
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 63

Win XP
D3 Prof, D6 Enterprise
BeitragVerfasst: Mo 04.08.03 18:19 
Hallo!

Mal wieder ne kurze Frage:
Kann man Videos im Mediaplayer in einer Art Vollbildmodus darstellen?

Danke

Daniel
fcg
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 360

WinXP
D3 Prof, D6 Pers
BeitragVerfasst: Mo 04.08.03 18:29 
hi

ja, kann mann:

ausblenden Delphi-Quelltext
1:
 MediaPlayer1.DisplayRect := Rect(0,0,screen.width,screen.height);					


so müsste es (wenn mich meine errinnerungen nicht täuschen) gehen...

fcg

_________________
.: Wer für alles offen ist, kann nicht ganz dicht sein! :.
Daniel_100 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 63

Win XP
D3 Prof, D6 Enterprise
BeitragVerfasst: Mo 04.08.03 18:41 
Es klappt nicht ganz: Das Bild des Videos wird zwar vergrößert, aber der Rahmen der Videofensters ändert sich nicht.
fcg
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 360

WinXP
D3 Prof, D6 Pers
BeitragVerfasst: Mo 04.08.03 18:53 
Du müßtest jetzt noch deine Display Kompo und deine Form auch auf Vollbild bringen und borsterstyle bsnone setzte und so...

Weiß aber nciht, ob das die einfachste Variante is...

fcg

_________________
.: Wer für alles offen ist, kann nicht ganz dicht sein! :.
Daniel_100 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 63

Win XP
D3 Prof, D6 Enterprise
BeitragVerfasst: Mo 04.08.03 19:07 
Ich hab das jetzt alles hingekriegt, danke.
Killi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 299

Win*
D6 Prof
BeitragVerfasst: Sa 18.10.03 16:57 
geht bei mir nicht...hab folgenden Code:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
        FPlay1.Width:= Screen.Width;
        FPlay1.Height:= Screen.Height;
      //  FPlay1.WindowState:= wsMaximized; oder lieber das???

        Animate.Left:= 0;
        Animate.Top:= 0;
        Animate.Width:= Screen.Width;
        Animate.Height:= Screen.Height;

        Video.DisplayRect:= Rect(0,0,screen.width,screen.height);
        Video.Open;
        Video.Play;


ist doch alles Vollbild, wieso gehts nicht? Wird alles größer gezogen, aber mein Video bleibt immernoch gleich....TAnimate.AutoSize ist auf False!

Moderiert von user profile iconAXMD: Code- durch Delphi-Tags ersetzt
ripper8472
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 114

Win2k (und wenn ich nen Zweitrechner haette, auch eine Linux Distri)

BeitragVerfasst: Di 21.10.03 13:59 
tanimate ist nicht zum anzeigen von videos gedacht

_________________
char l[]="\xd6N\x96\xa6\xe6\xce.\xa6\xe4\xce\x04N\x86\xae\xce\xfc",I,*i=l-1;for(;I=3,*
i++;){while(*i=*i&~(1<<I|1<<7-I)|(*i&1<<I)<<7-2*I|(*i&1<<7-I)>>7-2*I,I--);}puts(l);
†halia
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 24

WIN XP
Delphi 7 Enterprise, C++
BeitragVerfasst: Mi 14.05.08 17:07 
Hey!

Also, ich hab user profile iconfcgs Vorschlag ausprobiert. Bei mir passiert in Punkto Vollbild aber rein gar nichts. Mein Video erscheint jetzt zwar in dem Panel, das auch über den ganzen Screen reicht, allerdings weiterhin nicht im Vollbild sondern in 640x480 Pixeln links oben in der Ecke des Bildschirms. :gruebel:

Weiß jemand da vllt Rat? Könnte es am Dateiformat liegen? Mein Video ist .wmv.

Schon mal danke,
†halia



Edit: Wenn ich ein anderes Videoformat ausprobier, passiert das gleiche. Kann also wohl nicht daran liegen ... :?!?: Jetzt kapier ich's gar nicht mehr.

Also, ich brauch dringend konstruktive Ideen ...

_________________
"Fehler 5400 bedeutet, dass Ihr Computer Sie für einen Trottel hält und in Zukunft nichts mehr mit Ihnen zu tun haben will."