In general, the object tag requires a number of other parameters to hint to the browser what type of player is required. For example, to embed an HTML page
<object classid="clsid:25336920-03F9-11CF-8FD0-00AA00686F13" type="text/html"
data="httpthe URL goes here" style="width:???;height:???">
Alternative content
</object></td>
I believe that IE needs the COM Object GUID, and Moz-familiy browsers use the MIME-type
-----Original Message-----
From:
www-amaya-request@... [mailto:
www-amaya-request@...] On Behalf Of Jonathan Chetwynd
Sent: 23 January 2007 15:24
To:
Irene.Vatton@...
Cc:
www-amaya@...
Subject: oops: SVG foreignobject Bug
Irène
oops,
my apologies, too early in the morning, and in a rush...
A way to play a sound using foreignobject.
<object> alone doesn't seem to be supported in this way by any
player though <embed> is.
regards
Jonathan Chetwynd
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<svg xmlns="
http://www.w3.org/2000/svg"
xmlns:xlink="
http://www.w3.org/1999/xlink"
width="100%" height="100%"
>
<foreignObject x="250" y="-100" width="380" height="180">
<html xmlns="
http://www.w3.org/1999/xhtml">
<body>
<div id="mysound"><object src="http://
www.peepo.co.uk/temp/splat0.mp3" /></div>
</body>
</html>
</foreignObject>
</svg>