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 15:23:53 UTC