Is there a way to style the controls? I'm thinking of length. The controls are very small in my test code.

If I leave out the controls attribute the controls are not visible, but the audio element takes up the same amount of space whether the controls are there or not.

/Mogens

On 17-01-2011 21:37, Jorge Chamorro wrote:
audio
Embeds audio into a webpage.
Syntax
<audio src="url" autoplay="autoplay"<!-- Boolean attribute. Omit to prevent autoplay. -->  start="00:00:00.00" 
loopstart="00:00:00.07"<!-- 7 seconds -->  loopend="00:00:00.19" end="00:00:00.27" playcount="4"<!-- play 4x -->  
controls="true">
Discussion
The audio element may contain fallback content for browers that do not support 
this element. Any content enclosed within the audio element is ignored by 
browsers that support the audio element (but it must be valid HTML).
The audio element supports inclusion of source elements to provide multiple 
versions of an audio clip encoded with different codecs, at different bit 
rates, and so on. These source elements must be the first elements inside the 
audio element before any fallback content. See “source” (page 42) for more 
information.
Availability
Available in Safari 3.1 and later. Available in iPhone OS 3.0 and later.

http://google.com/search?q=safari+html+filetype:pdf+site:developer.apple.com


--
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to