Home Answers Viewqa HTML audio file to play automatically

 
 


samar
audio file to play automatically
1 Answer(s)      2 years and 7 months ago
Posted in : HTML

I want to get an audio file to play automatically when someone visits my site!

View Answers

November 1, 2010 at 4:24 PM


Hi,

Here is the answer,

Most browsers support the EMBED element for this, provided that the user has a suitable plug-in for the sound file. You can reach a slightly wider audience if you use BGSOUND as well. To avoid problems with browsers that support both, place the BGSOUND in a NOEMBED container:

<embed src="your sound file" hidden=true autostart=true>
<noembed><bgsound src="your sound file"></noembed>

Thanks.









Related Pages:
audio file to play automatically
audio file to play automatically  I want to get an audio file to play automatically when someone visits my site
Play Audio in Java Applet
the sound file. This program will show you how to play a audio clip in your java applet... Play Audio in Java Applet      ... is used to play the sound while stop() method is used for stop the running audio
how to play audio track in java applat
how to play audio track in java applat  Sir,i took help of coding in how to play audio track in java applet....nd i found perfect code ..but when i... file...as u see there is no main claas in this coding then how would i run dis
HTML audio tag
HTML audio tag  Hi, I have written a simple html page to play audio file, I m using audio tag as shown below: Your browser does not support the audio tag. when I open the page using Chrome, it works fine(plays audio
Audio MIDlet Example
Audio MIDlet Example       This example illustrates how to play audio songs in your... a player for an audio song by using of javax.microedition.media API. As you
uploading audio file iphone
uploading audio file iphone  uploading audio file iphone
HTML5 audio loop, Use of loop attribute of audio tag in  HTML5.
audio file again, until you do not click any controls. It supports only Boolean value either true or false. If it is available in audio tag, music file...HTML5 audio loop, Use of loop attribute of audio tag in  HTML5
converter code for audio file
converter code for audio file  how can i convert a audio file to a another file format like mp3
HTML5 audio autoplay, Use of autoplay attribute in audio tag.
HTML5 audio autoplay, Use of autoplay attribute in audio tag. Introduction:The autoplay is an audio tag attribute. It is only supported by HTML5. When it is present in audio tag, the music file will begin itself. or After loading
HTML5 audio autobuffer, Use of autobuffer attribute in audio tag.
in audio tag file; music will start buffering automatically . Declaration...HTML5 audio autobuffer, Use of autobuffer attribute in audio tag. Introduction:The autobuffer attribute has Boolean value. It is available in audio tag
playing an audio file
playing an audio file  In playing an audio file we have to take one method getAudioClip(getCodeBase(), "TestSnd.wav") inside that getCodeBase... how to solve this problem and also tell me where i should pass my audio clip
audio files in jdbc connectivity with ms-access - JDBC
audio files in jdbc connectivity with ms-access  i need to know how to retrieve audio files through jdbc connectivity with ms-access and how to play... static void main(String[] args) { try{ String url="jdbc:odbc:access"; File
Hi Every One , please give me some idia to opning audio File . please Help ..
Hi Every One , please give me some idia to opning audio File . please Help ..  hi Dear Friend , please give me a program to opening audio file that ech extention will except it ,play sound by Button (PLAY) , pause it by Pause
HTML5 audio reference
HTML5 audio reference  Hi, Tell me the best url to learn HTML5 audio tags with examples. Thanks   Hi, Learn how to use HTML5 audio tags to play the audio on web page. The HTML5 audio tag is used to play the video
ffmpeg audio from video
ffmpeg audio from video  Hi, How to extract audio from a video file? Thanks
J2ME Audio Record
J2ME Audio Record       This example is used to record the audio sound  and play the recorded... we try to show recording and playing of the audio, To play the audio sound we
how to stop audio (mp3)
how to stop audio (mp3)   if(e.getActionCommand(). equals("Stop")){ player.stop(); } i am making an audio player in which i... stopping it. how should i stop the song keeping in mind i have to play another song
Play SWF file using Java - Applet
Play SWF file using Java  Hi I have task to design a screen saver using java. Now, I want to play .SWF (Flash file)in my Applet. Is there any way to play SWF from java class. Any reply will be appreciated. Thanks
iPhone play, pause and stop playing music
that just drag and paste the music or audio file into the resources folder, which... iPhone play, pause and stop playing music This is the small iPhone SDK example that will show you how to play, pause and stop the music on button
Java how to stop audio
{ AudioInputStream audio = AudioSystem.getAudioInputStream(new File...(audio); clip.start(); } catch...); } I want that when i press the stop button in the gui, the audio stops
To run a jsp file automatically - IDE Questions
To run a jsp file automatically  Hi all, I am in need for the solution for - Can a JSP page can be made to run automatically when NetBeans IDE has been started. or we have to compile and run it automatically? I
how to add audio clip in swings with event handling
how to add audio clip in swings with event handling  hello dear, i wanna to play audio clip in java program in JFrame in swings by event handling ,it should be like when i click on a button , audio clip should play , plz tell me
How to play only video file from any link
How to play only video file from any link  Hi Friends Please Help Me. My requirement is to play only videos from any webpages(ITS NOT A ABSOLUTE PATH)[IF I PASTE any VRL---,IT HAS TO BE PLAY IN ANY CONTROL] how it possible
Implementing JSP and embedding Windows Media Player(wmp)
component in your page so that you can play the audio and video files in your JSP page...: By clicking on Play, media file will open Download Source code...: is url of the media file which is to be run on that JSP page AutoStart
HTML5 audio controls, Discuss the controls attribute of audio tag.
in audio tag file; music controls will be display on screen. Declaration...HTML5 audio controls, Discuss the controls attribute of audio tag. Introduction:The controls is attribute of audio. which is used for showing media player
Upload file on server automatically on specific time - JSP-Servlet
Upload file on server automatically on specific time  Hi all, Is there any way to upload file on server on specific time automatically using java... only to upload a file? If java application running, which will be the best
how to run audio files in net beans using j2me
how to run audio files in net beans using j2me  i am running the audioMidlet in net beans. Now where should i place the .wav files inorder to play them
java code to display in audio - Java Beginners
); //SoundPlay File file = new File("abc.wav"); clip
Car Music Streaming via iPhone Bluetooth, iphone Bluetooth Audio Streaming
the iPhone to the Car audio using Bluetooth. If your car has a supported Bluetooth... the play button. Now no need for cumbersome pairing and tangled wires. Just
Audio
low CPU usage. There are slightly different ways of playing audio from an applet and from an application. Where to learn about Java audio A good way to learn about audio is to read the "Sound" section of the Java Tutorial (see Other
Audio Processing
Audio Processing  Sir, I want implement an audio recognition system by using java.. Is it possible? and tell me the process... thank you
Play Lyrics on media player
Play Lyrics on media player  how to play lyrics on media player(MIDlet) while song is playing in background..its bit urgent... Thanks
No matter what i do, eclipse applet WON'T PLAY SOUND - Java Beginners
No matter what i do, eclipse applet WON'T PLAY SOUND  OK, so I tried the code in http://www.roseindia.net/java/example/java/applet..., even downloaded the sound file. it made a empty applet without any sound
play videos - Java Beginners
play videos   How to play videos on line.how to embed the video player in the browser.If you can give some basic idea about this i would be thankful to you. Thanks
pause play NSTimer
pause play NSTimer  How to pause or play NSTimer?   NSTimer *myTimer = [NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector(myMethod:) userInfo:nil repeats:YES]; - (void
play SOund - Java3D
play SOund  I creat a player in j2me game, i use tasktimer to set schedule for it, but when i do this, memory increase continuously, it's about 20 minutes, it's out of memory, please help me  Hi Friend, Please visit
audio video conferencing
audio video conferencing  how to develop a chat application in peer to peer setup
php create pages automatically
php create pages automatically  How to create pages automatically in PHP
How to play radio station on iPhone
How to play radio station on iPhone  how to play radio station on iphone
Broadcasting audio.. - JSP-Servlet
Broadcasting audio..  i am doing a project on Internet radio. I embeded windows media player,but doesnt know how to broadcast...i need to stream the audio. can anyone give a solution for this. Its very urgent
Play framework dynamic form generation
Play framework dynamic form generation  I want to generate dynamic forms using play framework can any one give me some idea about dynamic form generation using play framework
sorting folders automatically
sorting folders automatically  i want to sort folders automatically,let say the folders to be displayed in a webpage(hyperlinked to its resource... be done automatically.whenever a folder is created it should automatically get
Developer's Jukebox
stay anywhere on disk) and play them. The tag information is stored in an XML file. You can change artists, albums and titles of the tracks, rate them from 0.../redo. Currently, you can only play tracks that have been imported
JFrame Button click to start play
JFrame Button click to start play  i made a game and and i add a button in new jframe and i want when i click it it start to play...can anyone help me
Import My Own Package (Automatically)
Import My Own Package (Automatically)   How can I import my own package in every java program ( automatically )....? For example :- java.lang.String... automatically imported, we need not to import
NoughtsAndCrossesGame play button doesn't work
NoughtsAndCrossesGame play button doesn't work   /* * To change this template, choose Tools | Templates * and open the template in the editor...("Play"); playButton.addActionListener(playHandler
NoughtsAndCrossesGame play button doesn't work
NoughtsAndCrossesGame play button doesn't work   /* * To change this template, choose Tools | Templates * and open the template in the editor...("Play"); playButton.addActionListener(playHandler
how to play video in website using jsp
how to play video in website using jsp   please help me friend how to play a video in webiste by using jsp which playres are used and how to play video please give me code
HTML5  audio tag example, Use of audio tag  in HTML5.
HTML5  audio tag example, Use of audio tag  in HTML5. Introduction:In this section, you will see the use and implementation of audio tag in HTML5. The <audio> tag is used to add audio in web page or HTML page. When
file uploading
file uploading  How to upload music files onto the server and save the file information to the mysql database fetch and play the music files on a display page without download thus streaming the files

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.