开发者

iPhone HTML5 native <audio> control not rendering correctly

The native audio control does not render correctly on the iPhone or the iPhone simulator.

Go to http://www.anmldr.com/audio and see what I am seeing.

The native audio control will cover up the preceding paragraph and the drop shadow is slightly covering the following paragraph. Even if I put it in a containing div and ha开发者_Go百科ve a margin-top and a margin-bottom, this does not seem to work.

The width of the native audio control is apparently too small because all of the icons and the counter, etc are all crowded together and on top of each other. The control shows "Loading" continuously until you actually start playing it. Then the numbers appear but they are superimposed on each other.

Is there a way to style the native audio control? Width? Margin?

Linda


Answering my own question...

I figured out that the CSS attributes selector will allow me to style the native HTML5 audio control.

[controls] {
width:100%;
margin-top:1.25em;
margin-bottom:1.25em;
}

This solves the problem of the icons, etc. overlapping. It still does not solve the "Loading" message.

Linda

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜