Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how to play multiple video files in windows media player using C#

how to play multiple video files in windows media player using C#

Scheduled Pinned Locked Moved C#
csharphelptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NetMan2012
    wrote on last edited by
    #1

    hello, I have developed a windows application in c#. I am using Windows media player to play video files. for (int i = 0; i < ds.Tables[0].Rows.Count; i++) { GlobalClass.Global.videoName = ds.Tables[0].Rows[i]["videoName"].ToString(); wmp.URL = GlobalClass.Global.onlinePath + GlobalClass.Global.videoName; } Media player plays the last video file where count ends. i want the player not to play next file until 1st ends. Please help me in this regard. Thanks, Tanzeel

    R 1 Reply Last reply
    0
    • N NetMan2012

      hello, I have developed a windows application in c#. I am using Windows media player to play video files. for (int i = 0; i < ds.Tables[0].Rows.Count; i++) { GlobalClass.Global.videoName = ds.Tables[0].Rows[i]["videoName"].ToString(); wmp.URL = GlobalClass.Global.onlinePath + GlobalClass.Global.videoName; } Media player plays the last video file where count ends. i want the player not to play next file until 1st ends. Please help me in this regard. Thanks, Tanzeel

      R Offline
      R Offline
      Rajesh Anuhya
      wrote on last edited by
      #2

      Prepare windows media player playlist first.., play all videos using playlist, one by one

      Rajesh B --> A Poor Workman Blames His Tools <--

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups