开发者

Opera 10 supports html5 audio tag but Opera 11?

I have been working on a HTML5 project and I recently noticed Opera 10.60 supports audio tag perfectly but not latest version of Opera (version 11.00 build 1156).

you may try with URL: http://moztw.org/demo/audioplayer/ with Opera 11.00. I can see the audio player without problem but it just doesn't play the music.

My HTML code is as simple as :-

<audio controls src="media/vincent.ogg" type="audio/ogg">&l开发者_运维技巧t;/audio>


Opera 11 for Mac has a few bugs related to CSS and audio control buttons.

Under certain circumstances, the audio player will appear, but the controls will be inactive. I've seen it happen when the element is floated or has a display:block style.

Oddly enough, if you set a background color or image on the element (background: transparent won't do it), it should work.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜