Question

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"></audio>
Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top