Reputation: 11
I have this view where I have a list of calls and they all have a link to a recording. Once you click on a link it takes you to chrome built in mp3 player. Any way I can have a MP3 player widget and each time the link is clicked the call gets played on the widget?
Upvotes: 1
Views: 85
Reputation: 916
You can use an <audio>
tag (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio) to play the file inline on the page.
If you need more control, customization, or cross-browser support, take a look at something like MediaElement.js
Upvotes: 1