SQL Server :: How To Upload Video And How To Retrieve It And Play In Windows Media Player
Oct 5, 2010
i am developing web portal, which suppose to upload video in sql2005 and should be able to retrieve that video on request and play in aspx page with windows media player.
View 1 Replies
Similar Messages:
Mar 20, 2010
i have the following bit of code... is there a way to embed a media player into a webpage (such as windows media player) and play a file on it without actually having to have windows media player installed?
so to clarify, can i play a windows media player in a webpage without having it installed? because at the moment the follwing bit of code only plays my files asfter i installed windows media player on my PC.
private static string MediaPlayer(string file)
{ return "<OBJECT ID="mediaPlayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Microsoft Windows media Player components..." type="application/x-oleobject">" +
"<PARAM NAME="AutoStart" VALUE="true" />" +
string.Format("<PARAM NAME="FileName" VALUE="{0}" />", file) +
"<PARAM NAME="ShowControls" VALUE="true" />" +
"<PARAM NAME="ShowStatusBar" VALUE="true" />" +
string.Format("<EMBED type="application/x-mplayer2" SRC="{0}" name="mediaPlayer" width="176" height="144" autostart="1"showcontrols="1"></EMBED>", file) +
"</OBJECT>";
}
View 1 Replies
Jan 22, 2010
Iam having a avi video file of 250MB.i want to play it through it media player control.it plays but first it download the whole file than plays.so what i want is to buffer that file.so at moment user clcks on play buttonit starts playing the file.
View 6 Replies
Mar 17, 2011
I'm working on an Intranet Web site that will include an audio playback feature. I'm approaching this with an embedded Windows Media Player (class ID: 6BF52A52-394A-11D3-B153-00C04F79FAA6). The problem I have is that if I set an missing or inaccesible as the URL I can't find a way to determine from Javascript that it failed to play. It appears the player starts to play and immediatly stops. How do I detect a File Not Found or other error?
View 6 Replies
Feb 26, 2010
I have a varbinary field in a sql table which is actually a sound file. When I pull that data into a gridivew it is currently showing as byte[]. I would like to make that field a link and when the link is clicked the file will play in the users default media player. I am looking how to pull the varbinary column data and play it for the user.
View 1 Replies
Aug 3, 2010
I have two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc.
Does it need to have mp4 player(or codec etc) installed on webserver?
I have also some wmv files on that server , and i am playing perfectly using silver light player, and media player object on my website.
View 1 Replies
Jan 12, 2011
I have an ASP .NET 2.0 (4.0 is an option) page that I've embedded the Windows Media Player to using OBJECT tags.
The player is connecting to a Windows Media Services publishing point on the Web server. This is on a 2008 server.
Everything works great, see it here: [URL]
If I understand correctly, the information the player is showing in its status bar comes from the ID3 tags of the current track. Continuing on this line of thought, the ID3 information must be coming to the player from the media server. Correct?
What I want to do is collect and use the information about the track that's current being played. I'd like to be able to create a custom display for the current track information. I'd also like to put a custom value in the track information to look up additional information about the artist/track from a database.
View 2 Replies
Mar 31, 2010
I uploaded video in sql-server by using codeproject [URL[ article.this is working fine. Now I want to play this video in flash player like youtube.
how to play video from sql-server to flash player.
View 2 Replies
Jul 9, 2010
i have an example of a windows app media player. which opens up a file selection and plays that mp3. i want to play from a web location.
the method is below whch i am using, i have commented the old code, how would i get a track to play which is located on the web?
[Code]....
View 1 Replies
Jan 28, 2011
I want to media player control to play the videos in my website
View 3 Replies
Jan 22, 2010
I am having trouble accessing an embedded Silverlight 2 media player in an aspx page from Javascript and was hoping someone might offer some insight on what's going on.
What I want to do is fire a javascript event on the client when a button is pressed to change the Silverlight media player media source and then play the newly selected file.
I found what seemed like a pretty straightforward example on the silverlight.net site that looked like this:
[Code]....
However, when I run it, I get an error "undefinedObject doesn't support this property or method".
I've confirmed that the client-side id I am using is correct, and I have tried using document.GetElementByID in place of $find (which is what I use elsewhere on the site successfully; my javascript kung fu is weak and I'm not precisely sure what the difference
might be) but it still doesn't work. It all seems like it should work as it was presented in the example, but I only get that error.
View 1 Replies
May 25, 2010
i want to embed avi video ,but i don't like the window media player. I like the one like cnn or youtube where it doesn't show all button (play, previous, next...).
View 5 Replies
Mar 4, 2010
I am using VSTS 2008 + C# + .Net 3.5 + Silverlight 3.0 + ASP.Net to develop a Silverlight application (a video media player) in browser and the function is simple, just use MediaElement to play a remote video file.The remote server is Windows Server 2008 + IIS 7.0 + IIS Media Bit Rate Throttling Control.Since the request media URL can be discovered (e.g. from traffic sniffer), and I want to know how to prevent from download directly from the Url? i.e. I want end user to use my Silverlight media player application in browser to play the file, prevent them from download to local directly. Any easy and quick solution or reference code/documents?
View 5 Replies
Oct 20, 2010
The WMP is loaded immediately but the wmv file need more time. How I can inform the visitor that the video is loading may be using a word "Wait..." or other?
View 2 Replies
Dec 21, 2010
how to insert windows media player control in asp.net 4.0 web form to retrieve video filename from an sql datasource and play online. no 3rd party tools that will ask for subscription post trial offer etc.
View 6 Replies
Dec 9, 2010
I added he wmp.dll to my tool box. I am trying to add the windows media player on to my form and i am not able to drag it. Why am i havign problem in dragging the control on to the form?
View 4 Replies
Jan 3, 2011
I have embedded a windows media player object in my html. I also have a gridview that gets the name, filePath and details of files that can be downloaded from a database. I understand how to use gridviewEventArgs and commandName etc. But, how can I send the file path that I get from the database specifically to the "FileName" parameter for the html object so that the user can click on different movies in the gridview and then it changes the Filename param? Below is the html code:
[Code]....
View 3 Replies
Mar 8, 2010
i want to upload video file and then paly it on asp.net page.
View 6 Replies
Feb 9, 2010
I have to make an interface to upload large videos up to 30MB then stream and convert it into FLV format and then play it in a browser... this is required on my site in the "Video Gallery" module. My web application is in C# and ASP.NET. I can also use jQuery.
I have to send the video file in chunks then merge it at the server, stream it, create thumbnail for the video and then play it.
I found some code but it is all in PHP. I haven't found any C#, ASP.NET code.
Finally I got the code to upload the video file in chunks... like create its thumbnail and display the video in a browser.
Here is code to upload the video in chunks.
Upload button click
protected void btnUploadVideo_Click(object sender, EventArgs e)
{
UploadVideoFile obj = new UploadVideoFile();
string FileName = fuUploadVideo.FileName;
string DestPath = Server.MapPath("Videos");
[Code]....
View 2 Replies
Nov 26, 2010
I develop one simple application in this application i want to upload a small video and i watch that uploaded video any player .
View 1 Replies
Sep 8, 2010
I am using the media player and real player video controls they work fine in ie. How can I check they are installed in all main browsers like firefox and chrome and ie if not installed ?.
View 2 Replies
Jul 14, 2010
I have the following code that is trying to "spit out" an mp3 file so WMP can play it. However it keeps saying that it cannot play the file. However if I change the "inline" parameter for "attachment", the browser invistes me to open it and then, WMP can play it. I have seen some related articles around but I cannot make it work. The file is in the website's root folder and only authenticated users can reach it, but in my tests I am logged in as a valid user.
private static void Test2(HttpResponse Response, string filepath, params string[] additionalHeaders)
{
Response.ClearContent();
Response.ClearHeaders();[code].....
View 3 Replies
May 7, 2015
how to upload and retrieve video in c#.net using asp.netÂ
View 1 Replies
Jul 2, 2011
I would like also to know the way to have an embedded video in my site that will not have the play buttons and play again and again. Is there a way to do that??
View 2 Replies
Sep 6, 2010
What is the best and easiest-to-use video player for popular video extension in asp.net?
View 1 Replies