- From: Steven Gilham <steven.gilham@eu.citrix.com>
- Date: Tue, 23 Jan 2007 18:10:48 -0000
- To: <www-amaya@w3.org>
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@w3.org [mailto:www-amaya-request@w3.org] On Behalf Of Jonathan Chetwynd
Sent: 23 January 2007 15:24
To: Irene.Vatton@inrialpes.fr
Cc: www-amaya@w3.org
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>
Received on Tuesday, 23 January 2007 18:11:09 UTC