Javascript :: Play A Sound From Website?
Sep 9, 2010
I want to play a little "ding" sound when a new item is posted on my site. I'll leave the option to turn it off of course.Now should I do this with JavaScript? Would jQuery be helpful? Or should I use Flash? Looking for something that is widely compatible with different browsers.
View 3 Replies
Similar Posts:
Mar 13, 2012
I have a single page web app that shows real time data using just HTML/CSS/JS - I have managed to keep Flash out of it.
Now I want to play a small chime but I don't want to make the site dependent on Flash. It is just a chime to indicate a new chat, so it is not a huge stumbling block but I would like to find a way.
Is this possible - I am guessing no since you need something local to play the sound
Edit: I am not able to use HTML5 quite yet.
View 3 Replies
Jan 10, 2011
I'm new to flash and just need to do a simple task but I can't manage to get it to work. I'm trying to import a video (flv) into a SWF container and need to AS functions which should be exposed to JS (using liveconnect or anything else). These two function should toggle sound on/off and toggle play/pause. I dont need any user interface or a full featured player, just these two functions.
View 1 Replies
Jan 7, 2011
What's the risk if it is between 2 websites or 2 webservices or between a site url and flash or embedded javascript ?
View 1 Replies
Oct 14, 2009
It's possible to play a sound file through AS, either by loading it from a folder or import it to flash. It's also possible to play a dynamic tone with flash.media.Sound + writeFloat.
But... is it possible to play a sound file with flash.media.Sound + writeFloat in some way? I want to play a sound file without having to deal with any files except the .swf!
View 9 Replies
Feb 13, 2007
i want to make a single button to play a sound, and if pressed again, stop the sound. and if pressed again, play the sound, and so on...
i know it has to be made with a boolean variable, true/false, but i just can't figure out how.
View 13 Replies
Oct 28, 2010
I am interested in streaming audio on my website, but I have no clue where to begin. There are two types of streaming I hope to achieve. The first would be streaming a playlist of songs stored on the server and the second would be live audio streaming. Can anybody recomend any good sites or plugins to use?
View 2 Replies
Jan 5, 2011
Do you know any good solutions for converting a HTML rich text to a paginated book ? I used a CKEditor to let the user input the desired text. Now I am trying to display the content in a Book like environment. Preferably a Javascript/CSS one but Flash is OK too. Thought about jPaginate , jquery plugin. The text can be formatted with 2-3 text styles and can contain images.
View 1 Replies
Jun 8, 2011
Is it possible at all to create a feature on a website where you allow a user to select a portion of the web page, and that selected area is rendered as an image? Its similar to the "Cropper" desktop program but needs to be embedded on the web page It sounds near impossible using JS, flash, silverlight or any web based tools but I just wanted to get a 2nd opinion.
View 2 Replies
Jun 12, 2011
I understand that there are many methods to creating a slideshow on a website, but that isn't my question. What I really want to know is what is the most mainstream method of creating a slideshow on a website.What do you recommend?So far I've seen Jquery, Javascript, CSS & DHTML, and Flash. The first thing that comes to mind for me is flash, then second Javascript.
View 2 Replies
Dec 7, 2011
Using javascript or flash, is it possible to log into websites and than pull content from that page?
I am trying to make a phone app that displays content from a site that requires log in.
View 2 Replies
Feb 11, 2012
I want to take a screenshot from my website of another website or preferable 1 part of it (an object tag).I want it to work this way: I click on a button that will send a request to screenshot the page at this moment. Several ideas are insert the page inside a flash object and screenshot it. Or opening a browser on the server and when I click the button send a request using AJAX to tell the server to screenshot with this browser.How should I do this because I kind of failing right now with the flash Idea. The page I am trying to screenshot is a live camera that uses a .wvx object. But I can't even do that with a .swf object
View 1 Replies
Jan 4, 2011
I'm considering attempting a redesign of a flash website with jquery effects and transitions in place. I just wanted to reach out to the community to maybe see how feasible this really is considering the particular transitions and effects this website hasThe gallery I guess can be recreated by carousel plugin, but there are so many out there so maybe could suggest a stable one that would be be best suited to this job. The other items that really caught my attention in which I wouldn't really know where to start is the navbar and the effect that looks like a book opening when you click on a link on the navbar.
View 3 Replies
Jan 31, 2012
Is it possible to stream a radio channel in my website if I have the mml url mms:// ? I was checking out XML Flash Players but they do not seem to support that protocol. I am also ok if I need to code something but I would like to be guided in the right direction as I cannot find a lot of information about this issue.Is there something ready made? Would it be easier if I get my client to get me a different type of stream?
View 1 Replies
Mar 6, 2009
I'm trying to add sound to some buttons. It's just a little metallic 'klink' sound that plays on rollover. I only want the sound to play on the 'Over' state. So I've set up a layer (just for sound) for the button and I add my sound in the 2nd frame (the Over state). Everything is cool. All is good. And the sound plays on rollover. But the sound also plays when I click the button (i.e. it also plays on the "Down" state). Why? The Down state keyframe is completely empty. What's going on here? I've only put the sound in the "Over" keyframe, why does it also play in the "Down" frame (or when I click)?
View 1 Replies
Jul 21, 2011
I want to capture flash events in webpage using javascript. By flash events I mean like, clicking a Button, mouseover, entering text in textbox in flash content (websites). I see adobe flash uses Action script code to get the events in eventlisteners. How can I use the same API in javascript?
View 4 Replies
May 7, 2010
Are there any free audio players that I can use in my website? Are they customizable?
I've heard of Soundmanager 2. It's a flash based player with a javascript front-end.
Are there any other free players like that?
View 2 Replies
Mar 29, 2011
After building a flash using one of the players provided by KoolMoves in the interface, I checked to make sure the sound played properly and it did. I checked to be sure it was still in the contents file and it was. I uploaded it to my website and all plays great but I have no sound. I've checked to make sure my sound is not muted and speakers connected and all other sound plays fine. The progress bar for the player does not show when it is clicked eiither, as if there is no sound file in the player.
View 1 Replies
May 5, 2009
How do I add Flv videos to my website, without the sound, playing everywhere on the site?
View 1 Replies
Aug 29, 2009
I would like to add background music to my flash website, but i have tried many ways of doing so. currently what i have is one movie clip which consists of two frames - one has the play icon and the other with a pause icon and the sound file. however, after some time and also a few button clicks, the sound repeats and results in the sound playing over the previous sound.
View 3 Replies
Oct 7, 2009
I use CS4 Flash 10.0.2 and after publishing a website (tried few templates), it comes out with bothering scratching/metallic sound. Basically all sounds, effects are distorted with a metallic sounds. If I do it few times, or shut down Flash and start it again and then publish it, the sound it is OK. What am I doing wrong or is it a setting that I should do to avoid this nuisance? It does not matter if I publish it with Flash v6 or v8 and moreover, it happens to different flash websites while using Flash CS4 for Windows and also for MAC. It must be something that I have to set but have no idea.
View 2 Replies
Nov 12, 2009
I am trying to add a sound loop to my site and I have managed to get the sound to play and I can make two buttons start and stop. But how can I make 1 button that both starts and stops the sound?
Here What I have got.
Code:
var snd:Sound = new Sound(new URLRequest("dub.mp3"));
var channel:SoundChannel = snd.play();
var pausePosition:int = channel.position;
[code]....
View 4 Replies
May 17, 2003
I want to use a sound loop in my flash movie. The movie has many scenes. And the problem is that when I go to next scene or different scene I hear the sound repeating twice. I mean sound does not stop from first scene and begins from the different scenes.Is there any way to play sound like "stop all sound" option in Flash.
View 6 Replies
Mar 16, 2009
I have to play a sound file and show the progress of the sound file being played. I am using import flash.media.Sound; import flash.media.SoundChannel; But the PROGRESS event gives theprogress of loading of file. I want to know of much of the song has been played and how much more is left.
View 3 Replies
Nov 24, 2009
For my wishlist site, I would like to propose widgets to my users in order to publish their wishlist on their blog or personal website. The idea is to propose a few lines of code to my users that they only need to copy/paste to insert the widget displaying their wishlist. What is the best way to create/develop a widget ?
[Code]...
View 2 Replies
Aug 9, 2004
I am new to actionscript. I have created a script that will play server side sound object and client side mp3 files alternately. Now, I would like to play the client side mp3 first then only play server side sound object alternately. However, I have no idea how can I do so. The following is the code that need to be swapped:
[Code].....
View 2 Replies
Sep 20, 2011
I have a website at [URL] The problem i'm facing is that after the preloader is done the homepage comes but the other menus still takes much time to load and the sound also take atleast 5 min ! :(
How can i make them all bind together so that after the preloader everything comes together at an instant completely !
View 1 Replies
Oct 26, 2010
I'm trying to create a background sound in flash website. I created play/pause buttons and it works fine, but when the sound is over it stops. What I want is the sound to loop, not to stop. I tried different things but I can;t get it working as I wish. Here's my code:
Code:
var mySound:Sound = new dogg();
var myChannel:SoundChannel = new SoundChannel();
myChannel.addEventListener(Event.SOUND_COMPLETE, whenComplete);
function whenComplete(evt:Event):void
[Code]...
View 0 Replies
Jun 21, 2010
I have created and published a flash movie for my website using Flash CS3 that I inserted into the website using Dreamweaver CS3, I did this by choosing insert, media, flash within DW.....upon upload of the site, it will not play, although I can play the html file and the swf file as a standalone, it will not play within my website.
View 6 Replies
Sep 23, 2011
I am kind of new to javascript/html5. normally I would do that kind of stuff inside flash/as3. but since the iPad doesn't support that I need to switch the horse...I want to build a website where words are floating in position and size and if the mouse comes over one word it should draw some lines to all the other words. are there any frameworks one could use? the whole should look like a tag cloud with lines between the tags.
View 2 Replies