Web Forms :: How To Play Wave Sound And Video
Apr 18, 2010how to play wave sound and video by asp.net c#
View 2 Replieshow to play wave sound and video by asp.net c#
View 2 RepliesIs there any good way of playing a sound when clicking a button on my web page?? It works great on my local mashine but won't work on the server! I don't want any windows media player or any other window to pop up! Just to play a wav sound!
This is the code that works on my local mashine!
[Code]....
i have tryed belowe code to play sound file and it has working perfectly when i run it in debug mode but after i host it is not working
using IIS 6 and VS 2008
[Code]....
1) user A inputs some data into webpage "a.aspx". When he clicks save button, data is insert into table A and table B.
2) another user B is accessing webpage "b.aspx" or could be away from his desk. To inform user B that he has new incoming data (upon insert into table B from step 1), I was thinking to play a sound to get user B attention that he has new incoming data.
Can I achieve this (play sound) in coding (without interfering with what user B is currently doing)?
how to play .mp3 sound in page load?as background music.
View 1 RepliesI want to implement sound effect as background in my own website.It should start while opening the website.can u plz give me regarding code in asp.net(c#).
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 use vs 2008 ,
i have timer in my web page,at first i use this code to play the sound(i use this
method in other function):
[Code]....
the problem is that sound file is repeated every one second with my timer.
but this problem did not happen if i use cod(NO1)
Im trying to get started this web site and im having trouble wrapping my head around one of the requirements.
If permission is given then by the user browsiong the site then i need to access their webcam and microphone.
Im thinking this could be done with an activex component but if its already been done then why reinvent the wheel right?
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'm wth Asp.net, c#. How Can I do Audio ,Vedio streaming for a web page?
View 1 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.
How 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 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 want to upload video file and then paly it on asp.net page.
View 6 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?
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 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 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]....