Hi,
I have 1 video avi format and want it show on GUI
But I am having trouble with _GUICtrlAVI_Create function, it does not work, the video does not show on GUI, I see many ways in the forum but no answers for me. Please help me
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GuiAVI.au3>
$Form1 = GUICreate("Form1", 615, 438, 192, 124)
$hAVI = _GUICtrlAVI_Create($Form1, 'E:\Clip\team.avi', -1, 0,0, 301, 177)
GUISetState(@SW_SHOW)
_GUICtrlAVI_Play($hAVI)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
This's video file:
Note: download and rename file's name: team.rar then extract
tks ^^