Use this plugin: https://github.com/admsev/jquery-play-sound
$.playSound('http://example.org/sound.mp3');
More Related Contents:
- HTML 5 – Play file at certain time point
- How to detect an audio has finished playing in a web page?
- HTML5 audio playlist – how to play a second audio file after the first has ended?
- Sending a MediaStream to host Server with WebRTC after it is captured by getUserMedia
- how to get audio.duration value by a function
- Can I add javascript within jQuery ready function? [closed]
- How to find certain text in HTML
- jquery .get not getting [closed]
- Download a file by jQuery.Ajax
- Where should I put tags in HTML markup?
- Prevent browser caching of AJAX call result
- How to check file input size with jQuery?
- iFrame src change event detection?
- How to send JSON instead of a query string with $.ajax?
- How to reset (clear) form through JavaScript?
- Detect multiple keys on single keypress event in jQuery
- Javascript Drag and drop for touch devices [closed]
- Server polling with JavaScript
- Selecting an ID with a colon in it with jQuery
- How To Include CSS and jQuery in my WordPress plugin?
- JavaScript/jQuery – “$ is not defined- $function()” error
- how to check if a form is valid programmatically using jQuery Validation Plugin
- jQuery validate – set conditional rules based on user selection
- The data-toggle attributes in Twitter Bootstrap
- Extracting text from a contentEditable div
- JQuery show and hide div on mouse click (animate)
- Is it a bad practice to use jQuery in Angular? [closed]
- How to make only some text in a text-box read-only while allowing the rest to be edited
- flot graph, use legend to turn on/off series
- Python Flask Cors Issue