Hello,
I created a Entry-video, to show on Window-init before the Application-starts.
The AVI plays without a Problem, but there is a white Area visible on Screen.
Is there still somethig missing ?
It seems to be a missing oVideo:End()
I changed < SHOW_VIDEO() > with a better Result :
FUNCTION SHOW_VIDEO()
LOCAL oVideo
IF FILE( "Show.avi" )
@ 0, 0 VIDEO oVideo FILE "Show.avi" SIZE 10, 10 // used to hide the white Area
oVideo:PlayFull()
INKEY(3)
oVideo:End()
ENDIF
RETURN NIL
I changed AVI to MPG, but it takes to long, loading the Video.
As well I get a white Sreen, before the Video starts to play.
Maybe another Solution ?
ACTIVATE WINDOW oWnd MAXIMIZED ;
ON INIT ( SHOW_VIDEO(), nOldOption1 := nWStyle, ;
WND_BRUSH( oWnd, nWStyle, lWGrad, nWColorF, nWColorB, nWGradPos, cWBrush, cWImage ) )
RETURN NIL
// ----------------------------
FUNCTION SHOW_VIDEO()
LOCAL oVideo
IF FILE( "Show.avi" )
@ 0, 0 VIDEO oVideo FILE "Show.avi"
oVideo:PlayFull()
ENDIF
RETURN( NIL )
Best Regards
Uwe