Hi...
1st videos or images are save in folder and it's url is stored in database is better.
Now we are retriveing url only from database for palying video or images.
Ex:Videos save in folder like
string filename = Path.GetFileName(fileupload.PostedFile.FileName);
fileupload.SaveAs(Server.MapPath("~/Images/" + filename));
Url in database:
con = new MySqlConnection(cs);
con.Open();
cmd = new MySqlCommand("Insert into Items(ProductName,ImageUrl) values(@ImageName,@ImagePath)", con);
cmd.Parameters.AddWithValue("@ImageName", filename);
cmd.Parameters.AddWithValue("@ImagePath", "~/Images/" + filename);
con.Open();
cmd.ExecuteNonQuery();
con.Close();
so,then select ur required video with url and use ur required media player for video's.
Thank U.