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
Similar Messages:
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
Jan 28, 2011
I want to media player control to play the videos in my website
View 3 Replies
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
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
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
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 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
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
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 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
Jan 10, 2010
First of all, I have done a few C# applications, but are new to C# asp.net web applications.
What I am trying to receive is a simple Media player control on an aspx page. And furthermore a button (not the button on the media player control), that starts the media player with a videostream url. Thats all!
I can easily achieve this in an ordinary c# application form, by importing:
AxInterop.WMPLib.dll, Interop.WMPLib.dll and wmp.dll references in the project. Now i am able to choose a "Windows media player" control in the toolbox, which i can drag into my form. Nice and easy.
But when i import these dll´s in my ASP.NET Web application, I cannot see the media player control in the toolbox. Ive tried to right-click the toolbox, and click "Choose items", and see that 'Windows media player' is checked under the COM components tab. But i still cannot see the control in the toolbox. Only in an ordinary c# application form.
View 7 Replies
Mar 18, 2010
I am using Media Player Control to play a video file(.mpg). The video file can be played ok when I specify an absolute URL value (something llike C:UsersMyFilesMyVideoTestVideo.mpg) for the MovieURL property . Anyway when I set a relative URL value like ./TestVideo.mpg (the format follows an example from some tutorial) for the MovieURL property, the video file cannot by played.
View 6 Replies
Jan 11, 2010
First of all, I´m new to asp.net.
I have this .aspx page in my Visual Studio 2008 web project solution, with a media player control and a button which invokes it and starts playing a file:
[code]
line is added to the .aspx page. When the page is now loaded, and the button from before that used to work gets clicked, i get a Javascript error saying that 'Player' is not defined.
View 6 Replies
Mar 17, 2010
I use media player control to play mp3 files in asp.net application. I want to find When the playing process gets end and the total time require to finish the file using javascript.
[Code].....
View 1 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
Oct 1, 2010
First of all, I am introducing myself. I am a new in web developer.I want to build ASP.NET Media Player Control in C# .Net code . Now we want to play all music file . For this we are looking API scripting.
View 3 Replies
Sep 30, 2010
I am a new in web developer.I want to build Media Player Control in C# .Net code . Now we want to play all music file . For this we are looking API scripting.
View 3 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
May 18, 2010
tell me can i play a media file using mobile controls of asp.net.if yes then How?
View 2 Replies
Aug 6, 2013
How do I insert and play swf or flv file into aspx page? I do not want to use silverlight for that purpose.Â
View 1 Replies
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
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
Feb 12, 2010
i 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 Replies