How To Upload And Play Video
Mar 8, 2010i want to upload video file and then paly it on asp.net page.
View 6 Repliesi want to upload video file and then paly it on asp.net page.
View 6 RepliesI 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]....
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 RepliesI 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 RepliesI have successfully build the required interface to upload images and videos within my MVC application. When I upload an image it will be displayed successfully in my application. But When I upload a video it will upload successfully, but an "X" will be displayed in the view. and when i click on this "X" the real player application will open and play the video. But what I need is to be able to play the video within my application?
View 6 RepliesHow do yo play a video with silverlight?
does Visual Studio come with a video player component build in? or do I need to make a video player?
I wants to a play a video on page loading. On pageload the video was not display. But i refresh the page then video play. After that also play ...
What is the problem on page loading?
Method 1:(does not work on IE, works on Firefox, the downloadatt.aspx load video from document server and ouput)
<object width="320" height="240" autoplay="false" controller="true" scale="ASPECT" src="http://localhost/TestVideo/DownloadAtt.aspx">
<embed play="false" autoplay="false" controller="true" width="320" height="240" src="http://localhost/TestVideo/DownloadAtt.aspx"></embed></object>
Method 2 works
<object classid='CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95' id='player' width="320" height="240" standby='Please wait while the object is loaded...'>
<param name='src' value="http://localhost/TestVideo/DownloadAtt.aspx" />
<embed play="false" autoplay="false" controller="true" width="320" height="240" src="http://localhost/TestVideo/DownloadAtt.aspx"></embed></object>
</object>
But the problem is that I do not know the video format, so I can not predefine object's classid.
I prefer method 1(since I do not need to worry about the video format), But it does not work on IE, I used to point the src to an ISAPI dll which does the same thing as DownloadAtt.aspx(below) and it works. Now I change to Asp.net, it does not work. :(
Does anybody know how to make the method 1 work?
File DownloadAtt.aspx:
[Code]....
I want to play the video file from my repository into the web browser using asp.net/c#.
View 3 Repliesi have used "embed" tag for Flv file, Flash Player for "swf" file and "object tag for other files.. everything working fine with IE but in Mozilla only swf files working properly.. way to play video of any type in IE and Mozilla both
View 2 RepliesI want to play videos through handler which are installed in my database table. I have written code in handler file and Its working in IE but not working in firefox and safari. Please take a look at my code belove and tell me where I am doing wrong and what should I do to working in both browser.
[Code]....
Setting in my web.config file to class hanlder.
[Code]....
I'm wth Asp.net, c#. How Can I do Audio ,Vedio streaming for a web page?
View 1 Replieshow to play wave sound and video by asp.net c#
View 2 RepliesHow could i paly a video & audio file on an asp.net page so that the file is determined on the run time
View 2 Repliesi have one confusion. i have added following code to my aspx page for playing video:
[code]....
now here i have one cofusion. i want to play video dynamically. how i can set "../Downloads/Videos/Video2_Part3" Dynamically??
can i do with this approarch, or i have to go for some alternative??
I want to give the videos Upload and Play feature in website, and i want to use youtube for play the uploaded video.
So please suggest me how to upload videos and store these video in sql database and how to link these video to youtube.
I am new to video streaming.
I want to play a live video in aspx page.
How to do that.
I need this video to play automatically. It would be nice, this code can play videos from other sources like yahoo etc.. Is it also possible to use HTML5, instead of jquery?
View 4 RepliesHow to save video file in sql . and play on web page in asp.net c#.
View 1 RepliesHow to play audio and video files...
View 1 RepliesI 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.
Follow this LinkĀ [URL] .... in this tutorial can play video popup but i wnat to retrive this video link in sqlserver using datalist ...
View 1 RepliesIam 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 RepliesI am using ASP.NET 2008 web developer and i dont know how to share youtube videos in my pages.
I want to play youtube videos in my site without upload
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.