Hi, I use this code to load and play a video
procedure Tfmain.Open1Click(Sender: TObject);
begin
with ImageEnView1.IO.DShowParams do
begin
if State = gsRunning then
begin
Stop;
Disconnect;
end;
FileInput := myFileName;
EnableSampleGrabber := true;
RenderAudio := true;
Connect;
if Show_Position_By_Frame then
ImageEnView1.IO.DShowParams.TimeFormat := tfFrame;
Position := 0;
// Pause; // This shows first frame
ImageEnView1.IO.DShowParams.Run;
end;
end;
by the way, it is possible to do a playlist for playing 3 videos one after another? I don't know how exactly do this
thanks so much