Posts

Showing posts from November, 2017

PLAY AUDIO FILES USING HTML5

Image
Sometimes you want to embed a video from youtube.com into your site to listen to some great music but unfortunately that is not allowed. At this point we can download the video (MP4) or audio component (MP3) and use the HTML5 "audio" element to hear them. It is not hard to find on the internet tutorials on that. In this post I would like to share the site that I have made. 1- Make "index.html" or download zip file First of all you need to copy the source code of the site "index.html" and create your html file. Then make a new folder named as "play-audio-continuosly" and put "index.html" there. However, the "index.html" file also has an audio player so I attached it with 7 MP3 files and there is one "bannerHo-guom.jpg" background image. So if you want to have them, you can download the file "play-audio-continuously.zip" (27.5 MB) from here: https://www.mediafire.com/file/q3gjv90z69