KeywordsHTML5HTML5 audio Getting started to proficient
HTML 5 provides a standard for playing audio.
Audio on the Web
Until now, there is still no standard for playing audio on a Web page.
Today, most audio is played through Plug-ins (such as http://www.aliyun.com/zixun/aggregation/12592.html ">flash"). However, not all browsers have the same plug-ins.
HTML 5 provides a standard way to include audio through audio elements.
The audio element can play a sound file or an audio stream.
Audio format
Currently, the audio element supports three audio formats:
Control property to add playback, pause, and volume controls. The content inserted between <audio> and </audio> is displayed for browsers that do not support audio elements:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.