Web Forms :: File Download For Progressive Video Player?

Mar 24, 2011

I've configured progressive video player on my website. When I'm passing direct url to .mp4 file everything works fine.

when I'm trying to pass file bytes from my .ashx file. Player begins to play but if you try to seek it'll write buffering, buffer video till the seekpoint and continue to play.

here is my file download script in .ashx handler

FileStream sourceFile = new FileStream(FileName, FileMode.Open); long FileSize; FileSize = sourceFile.Length; byte[] buffer = new byte[(int)FileSize]; sourceFile.Read(buffer, 0, (int)sourceFile.Length); sourceFile.Close(); context.Response.AddHeader("Content-Disposition", "attachment;filename=file.mp4"); context.Response.ContentType = "application/octet-stream"; context.Response.BinaryWrite(buffer);

View 1 Replies


Similar Messages:

Web Forms :: Having A Avi Video File Of 250MB. Want To Play It Through It Media Player Control?

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

How To Play MP4 Video On Window Webserver In Quick Time And Flash Player (flv Player)

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

Web Forms :: How To Put Video Player / Which Player Is Best

Sep 30, 2010

1)in my website i want to put a video player which player is best (windows media player or flash player) ?

2)if user will upload any type of video. how to convert to that video into (wmv or flv) ?

3)after uploading how to compress the video?

View 1 Replies

Web Forms :: How To Post A Video On Video Player

Feb 10, 2011

I want to post few videos on a website but i don't want to use youtube or any other website.

I want to have an in-build player on the webpage with video in it - how to accoplish that ?

View 4 Replies

Javascript - What Is The Best And Easiest-to-use Video Player For Popular Video Extension

Sep 6, 2010

What is the best and easiest-to-use video player for popular video extension in asp.net?

View 1 Replies

Download A Video File With C#

Jul 30, 2010

i want code to downlaod a video file using asp.net with c#

View 3 Replies

C# - End User To Use My Silverlight Media Player Application In Browser To Play The File, Prevent Them From Download To Local Directly?

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

Web Forms :: Display Video In A FLV Player?

Apr 14, 2010

im using Jwflv player,which is free, to display flv players on .NET Web Form Application.

but the problems is when the page is load, the video area is first Black, and after clicking on Play you get your video.

i want to show the first frame of the video before clicking play, and after click play ill get my video

View 2 Replies

Web Forms :: Embedded Video Player?

Feb 2, 2011

I am using visual basic web developer 2010 express. I have downloaded aspnetflashvideo web control to my toolbox. I then dragged it onto my web form and get the following 'Unrecognized tag prefix or device filter 'AspNetFlashVideo'.' Is there something else I need to do when I added this control to my toolbox?

View 7 Replies

Web Forms :: How To Create Dynamic Video Player

Feb 24, 2011

i have dataset with a table that fill by database with link of youtube. i have a datagridview, that fill by the table with the link.

above the datagrideview in the same page, i want to create dynamic video player, so when i click a call in the datagridview he will start in the video player above.

View 1 Replies

Web Forms :: How To Upload Small Video And Watch With Any Player

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

Best Video Player Which Easily Integrates With .NET ?

Mar 20, 2010

Tried Flowplayer, doesn't seem great, is JW Player better ? Any other suggestion ? Especially need to be able to manage TimeCode with Frame support.

View 2 Replies

Embedding Video Player Control In Page?

Apr 23, 2010

I need to embed Video to my webpage. Any good control for it??

View 2 Replies

Want To Embed Avi Video ,but I Don't Like The Window Media Player?

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

Controls :: Video Player Error 200 Stream Not Found

May 7, 2015

I am using this article (Upload Save Retrieve and Play MP4 Video files with live streaming from Database in ASP.Net using C# and VB.Net)...

When I am playing video,getting a error (200 stream not found netstream.play.streamnotfound, clip '[clip] FileCS.ashx?id=1') over the player ...

View 1 Replies

DataSource Controls :: Play Video From Sql Server To Flash Player Using C#

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

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

Web Forms :: Can't Download Song And Video

Mar 12, 2011

i m trying to download song and video using following code but it only save can't download it

protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "id")
{
string url = Convert.ToString(e.CommandArgument);
//Response.Redirect(url);
FileInfo fileInfo = new FileInfo(url);
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=" + fileInfo.Name);
//Response.ContentType = "application/octet-stream";
Response.ContentType = "application";
Response.Flush();
}
}

View 4 Replies

C# - How To Download A Video

Apr 11, 2010

how to download a video file .wmv and save it to the user's disk when click a button without using the browser save link as

View 2 Replies

Web Forms :: Download File Using New Window When Download Button Is Clicked

Sep 2, 2013

I need to download  a .mp3 file from a folder. during download a new blank page should open and after downloading it should close automatically.

View 1 Replies

How To Check For Media Player And Real Player Are Installed

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

Web Forms :: Controlling File Name Of The File Opened Directly From File Download Dialog?

Jul 26, 2010

I am downloading file from database using the following code. This code downloads an excel file from the database which has a macro attached to it when it is opened. This macro reads file name of the excel file and uses it for its computation. Everthing works file if user saves the file on his harddisk and then open if but if he directly opens the file from the dialog(by hitting 'Open' button) then file name of the opened excel file comes out be the name of the webform that has the above code and this leads to error in the macro. Is there any option through which i can control the name of the file if user directly opens the file from dialog or the option to disable or remove 'Open' button form the dialog?

[Code]....

View 2 Replies

How To Improve Progressive Enhancement For Long-running Tasks

Nov 2, 2010

I'm looking for ways to improve a web page that initiates a long-running (>2 minutes) server-side task. The current version of the page just clocks for the full duration of the task, which can be very frustrating to the user.

I already have a few ideas about how I could improve the user's experience, but they all would involve the use of AJAX to some extent. Because of previous experiences that I've had on this project, I know that not all users have JavaScript enabled or available.

Assuming that the server-side process has already been optimized as much as possible, what else could I do to improve the experience of all users as much as possible?

View 2 Replies

Show Download Dialog Box In Case Of File Download - Located On Amazon Server

Jan 4, 2010

i am using amazon s3 service. now i want to show download dialog box in my asp.net application when user come on download page. i am using amazon sdk.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved