Play ogg inside a page?
I was pretty surprised when i saw http://www.vorbis.com/music/Hydrate-Kenny_Beltrey.ogg link not give me a download开发者_C百科 option but had a player that was not flash playing the audio back. (FireFox)
Is there a way i can embed this onto a page?
Use the HTML5 Audio
tag.
P.S. Although you tagged as firefox
, Chrome, Safari and Opera 10.5 also have support for audio
You can use HTML5 to embed this on a page, but it will not play back consistently across browsers.
The only way to get consistent audio/video playback across browsers is to use a plugin and Flash has the widest user penetration.
You're looking for the HTML5 <audio>
tag.
Note that it's not supported by IE.
精彩评论