How to embed a media file on a blog/website
Adding a media file to your blog like an audio file is sure way to capture the interest of your visitors. If you intend to add an audio file to your website or blog without having to make the visitor move to open the file elsewhere, then there is a sure way to do this. If you are blogging for money you will know that attaching files that open in new windows or tabs denies you the much needed revenue as your visitor may move away after the media file is over.
The code below will help you to embed your files in your site and thus allow them to be played within.
<audio id=”audio_with_controls” controls>
<source src=”test.mp3″ type=”audio/mpeg” /></audio>