Skip to content

How can i play next video at the end of previous video via directX.

Manoj Tarkar

Manoj Tarkar

Asked Jun 6, 2012, 11:10 PM EDT1 answer
Share
LinkedInX
-

how can i play next video at the end of previous video via directX.

I am using the following code:

using Microsoft.DirectX.AudioVideoPlayback;
int width = panel_vid.Width;
int height = panel_vid.Height;

vid = new Video(@"c:\cc.avi");
vid.Owner = panel_vid;
vid.Size = panel_vid.Size;
vid.Play();

28 minutes ago

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    I had worked with direct X long ago, but i think you can associate timer with your current movie, and in timer event you can play next movie when its clicks finish (clicks will be equal to your current movie's length). i hope there will be many more solutions, like by using built in events of video through direct x.
    0