Video files question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Travis

    Video files question

    Hi, I am working on a project where I want a video to be able to be
    displayed. I just want to be extremely basic: they hit a Browse button,
    select a .avi or .mpeg, and the video plays on the form (as a picture
    displays in a PictureBox, I am essentially asking for a "VideoBox")

    I don't need a pause, next, previous, or any of that. I just want the video
    to play, and when it's done, it should loop, forever I guess until the form
    closes.

    Thanks for the help!

  • Gillard

    #2
    Re: Video files question

    have a look at the DirectXSDK yhere is a sample that may fit your need

    "Travis" <captaint03@com cast.netwrote in message
    news:#D5#uaFHJH A.468@TK2MSFTNG P06.phx.gbl...
    Hi, I am working on a project where I want a video to be able to be
    displayed. I just want to be extremely basic: they hit a Browse button,
    select a .avi or .mpeg, and the video plays on the form (as a picture
    displays in a PictureBox, I am essentially asking for a "VideoBox")
    >
    I don't need a pause, next, previous, or any of that. I just want the
    video to play, and when it's done, it should loop, forever I guess until
    the form closes.
    >
    Thanks for the help!

    Comment

    • kimiraikkonen

      #3
      Re: Video files question

      On Sep 22, 4:58 am, "Travis" <captain...@com cast.netwrote:
      Hi, I am working on a project where I want a video to be able to be
      displayed. I just want to be extremely basic: they hit a Browse button,
      select a .avi or .mpeg, and the video plays on the form (as a picture
      displays in a PictureBox, I am essentially asking for a "VideoBox")
      >
      I don't need a pause, next, previous, or any of that. I just want the video
      to play, and when it's done, it should loop, forever I guess until the form
      closes.
      >
      Thanks for the help!
      You can safely use Windows Media Player's ActiveX control by adding to
      your toolbox from COM tab. Then associtate file's URL with WMP object
      to play.

      Hope this helps,

      Onur Güzel

      Comment

      Working...