Hi,
I'm having some trouble because the IEEC_COMPLETE is called about 5 seconds later the video has been played. What should I do?
I'm playing the video the same way in the videoplayer demo
thanks
I'm using this code
procedure TFMasterMonitor.ImageEnView1DShowEvent(Sender: TObject);
var
event: integer;
begin
with ImageEnView1.IO.DShowParams do
if Connected then
while GetEventCode(event) do
case event of
IEEC_COMPLETE:
begin
Stop;
Disconnect;
ImageEnView1.ClearAll;
application.ProcessMessages;
if (playAllVideos) then
begin
inc (myLastVideoID);
application.ProcessMessages;
playAllVideosNext;
end
end;
end;
end;