Web Forms :: How To Play Background Sound Or Music
Dec 5, 2012I 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 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 Replieshow to play a music whenever the home/any page is opened.
View 1 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 make project which is MP3 downloading website..
Some website example about it i know basic of asp.net and also know layer architecture..
i 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)
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 RepliesI'm setting up a website for a friend who wants to showcase their music. At the moment i have about 12 songs all loading at the same time using the <embed> tag. This displays a WMP object on the page for each song and obviously takes forever to load due to the total size of the songs.
I'd like to be able to simply have a link (title of the song) and an image on the side of each song (play button) that can be used to start and stop each song as required.
i have a control that shows me Messages. it sits in an update panel and constantly polls the server for new messages. This is accessed by multiple users.. My problem is that i need to be able to play a sound when new messages are found.. i have been able to "sorta" do this using soundplayer.. every time it polls it is checking timestamps to determine if a message was added in the last x seconds.. if so.. ding.. that works great.. UNTIL you put it out on the server.. from what i gather.. that will only dingat the server.. (great for the server room... not so much for the users).. i have been googling for hours now.. it seems theres 3.4 billion answers for stuff i don't think im looking for.. but i can't seem to find anything that really does this. I need the Code behind to cause the playing of the sound.. and for all users..
View 4 RepliesI need to add a music player in my web page, i had written some code to play the file, but it is not working.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
[code].....
I want to create a website that streams live music, something like a radio, users go on to the website listen to the music, then can see what song is playing, and they can chat amoung them.Also that the person streaming the songs can as well have a speech in between the songs.i have been researching but couldnt find much information, most of the stuff i found out its very advanced, and i dont want to be copying someones code just for the sake of doing something.
View 1 RepliesI m using vs2005 & sql2005 I hv a database shown in gridview, wen I select a name (from dropdown of employees) from one of the column in gridview, a mail should go to respective employee with a feature THAT BEEPS INTO HIS SYSTEM 2WICE A DAY AT 2 PARTICULAR TIMES.
View 9 RepliesI have tried the SoundPlayer class in ASP.NET used to give alert when it reachs threshold (value has been set).
When i directly complied from VS2008 its working mean it gives alert sound. But while i open browser the type "localhost/website/default.aspx" in the address bar its not playing (any sound).
My code is here
SoundPlayer objSoundplayer = new SoundPlayer(path);
objSoundplayer.LoadAsync();
objSoundplayer.Play();
objSoundplayer.PlayLooping();
Working with portnumber : localhost:55678/website/default.aspx
Not Working: localhost/website/default.aspx
What worng in this code or need to inculde some more properites.
How to " Upload Save Retrieve and Play MP4 Video files with live streaming from Database in ASP.Net"..your code is working fine ... but i have one problem . I can only here sounds of video files but VIDEOS are not working.
View 1 RepliesI'd like an .aspx webform with the posibillity to upload a sound file to Mixcloud, using the Mixcloud API.
Codebehind written in C#.
Before I even start, I never used silverlight..not even touched the tutorials, articles, anything.
I got a project coming up I need to make some decisions about (Presentation layer defo Asp.Net MVC).
Basically a user will updload a video, which will be "processed" (cannot reveal that part) and then the user can preview the result before opting to download it in a video format.
For the "preview" part, I need to decide what "video" player to use, and before looking around I was wondering if Silverlight would be a good solution for this?
I want to develop a web application which gets media files from a streaming server and plays it on my website. How can I do this using ASP.NET?
View 1 RepliesIs there a way to record sound from the user and save it on the server in ASP.Net 2.0 or greater?
View 2 RepliesI am using Visual Web Developer 2008 Express with C#. How do I put sound bytes on a Web page?
View 4 RepliesIs it possible to create Music mixing application using C# asp.net 4.0.
View 2 RepliesI want to upload a music file to a database, but i don't know how. I need to upload the file to server and then upload it to the database? Or I can do everything at the same time? And how i can do it?
View 1 RepliesI have a master page and inside : a music player.
<object type="application/x-shockwave-flash" data="[URL]"
width="200" height="20">
<param name="movie" value="[URL]" />
<param name="bgcolor" value="#ffffff" />
<param name="FlashVars" value="mp3=Preloader.mp3&loop=1&autoplay=1&autoload=1" />
</object>
It works and I can hear sound, but if I go to a different page, it stop (pause and return to start, I can still see it through and press play since its in my master page) How do I make it play while I'm browsing through pages? Note : The player contains a pause function and doesn't auto play so users wont be annoyed.