Free Video Course To Learn HTML5 - Audio Tag
Prior to HTML 5, when you added an audio or video file to your webpage, you did so through a particular plug-in like QuickTime or Flash or Flash Movie. But maybe not everyone that visits your webpage has that particular plug-in installed or updated on their browser. They would then be prompted to install or update the plug-in on their browser. Not everyone would do this and many would simply just move on to another website. HTML 5 solves that issue with the use of the audio and video tag. This video will show you how to add an audio file to your HTML 5 webpage. Now the current problem with adding audio to your HTML 5 webpage is that some browsers are not recognizing all audio formats. The way things are at this time is that if you want the majority of your site visitors to hear your audio files, then you have to add more than one audio format so that the different browsers recognize and play your audio file. Setting this up is not difficult at all as you will soon see here in a second. The problem as I see it is that instead of having one MP3 audio file at, say, 2MB, now, I have to have additional audio formats that are roughly the same size or even larger if I am going to be using uncompressed files like the way file. If I use a lot of audio files because, well, maybe I do regular podcast – and those podcasts are 30 minutes or an hour or longer, then this will put a sizable increase in my online hosting costs. In this demonstration, I have several different formats of the same audio file that I am going to be using in making this HTML 5 webpage demo.
No comments:
Post a Comment