There has not been a standard for playing audio files on web or blog, just recently HTML5 release with a new element which specifies a standard way to embed an audio file on a web or blog.However, It seem does not yet support with latest browser version.
If we want to embed video is easy, because we can use YouTube as a file hosting to host those video for saving our storage space.Just upload to it and right click to copy embed code to paste in our HTML Editor post and the result is nice.One more way, if we use blogger there is an option to upload video directly to blogger blogspot hosting and that is easy for us.They just allow us to upload video not audio files.
Here the look of HTML5 audio.It is a basic look which you may modify as you know.See the following code source
<audio controls="" height="100" width="100">
<source src="horse.mp3" type="audio/mpeg"></source>
<source src="horse.ogg" type="audio/ogg"></source>
<embed height="50" src="horse.mp3" width="100"></embed>
</audio>
Look at the src="horse.mp3" is your audio file URL source.Replace it with your host url file.
I finally, wish this article useful for you that would bring more benefit for your blog.
<source src="horse.mp3" type="audio/mpeg"></source>
<source src="horse.ogg" type="audio/ogg"></source>
<embed height="50" src="horse.mp3" width="100"></embed>
</audio>
Look at the src="horse.mp3" is your audio file URL source.Replace it with your host url file.
I finally, wish this article useful for you that would bring more benefit for your blog.
Superb i really enjoyed very much with this article here. Really its a amazing article i had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.school prospectus uk
ReplyDelete