Help - Search - Members - Calendar
Full Version: Ogg embed in HTML ?
Hydrogenaudio Forums > Lossy Audio Compression > Ogg Vorbis > Ogg Vorbis - General
Mgz
how to embed Ogg (Vorbis,Speex,FLAC,tarkin,etc) in HTML ?

i try
CODE

<HTML>
[LIST]
[/LIST]
<BODY>

<EMBED TYPE="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" SRC="http://www.mywebpage.net/xxxxxx.ogg" ShowControls=1 AutoStart=1 ShowDisplay=1 Autorewind=1 ShowStatusBar=1></EMBED>

</BODY>

</HTML>

but nothing happen sad.gif
MadiZone
Windows Media Player does not play Ogg's...

Maybe, you can use this : http://www.jcraft.com/jorbis/index.html ?
Neo Neko
Even if it would have worked it is not a good thing to do. Many browsers tend to ignore or restrict use of the embed tag due to the laughable vulnerabilities Windows has that can be taken advantage of through it. The embed tag was never meant to be used to play music or run videos in a browser window. It was meant to launch propper standalone aplications to handle them. Which is not what you want to do. And is even considdered bad nettiquite. It also raises all sorts of browser compatability issues for your page.
tangent
QUOTE(MadiZone @ Mar 31 2003 - 03:53 PM)
Windows Media Player does not play Ogg's...

Maybe, you can use this : http://www.jcraft.com/jorbis/index.html ?

with oggds installed, wmp can
dev0
You should be able to use Ogg in XHTML using the object tag:

<object data="sound.ogg" type="application/ogg">

But AFAIK there is no browser supporting it yet and I'm not sure if application/ogg really is the Ogg MIMEtype (look through the Vorbis mail archives to find an answer).

dev0
Mgz
thanks everyone


@dev0 : OK.I will try with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030331 Phoenix/0.5, if it can't play, i thinks i going to submit bug to Phoenix/Mozilla team tongue.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.