You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2011/05/17 13:13:22 UTC

[jira] Commented: (DOXIA-427) Doesn't handle HTML "EMBED" element

    [ http://jira.codehaus.org/browse/DOXIA-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=267228#action_267228 ] 

Lukas Theussl commented on DOXIA-427:
-------------------------------------

You could use the SWF Macro to embed flash : http://maven.apache.org/doxia/macros/index.html#SWF_Macro (disclaimer: I have never used it myself).

> Doesn't handle HTML "EMBED" element
> -----------------------------------
>
>                 Key: DOXIA-427
>                 URL: http://jira.codehaus.org/browse/DOXIA-427
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Xdoc
>    Affects Versions: 1.2
>            Reporter: Data Nucleus
>
> If I have an XDOC file with
> {code:xml}
> <subsection name="Demo">
>   <center>
>     <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="620" codebase="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">
>       <param name="movie" value="dali.swf"/>
>       <param name="play" value="true"/>
>       <param name="loop" value="false"/>
>       <param name="quality" value="low"/>
>       <embed SRC="dali.swf" width="800" height="620" quality="low" loop="false" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"/>
>     </object>
>   </center>
>   <br/>
> </subsection>
> {code}
> then Maven site comes up with
> {noformat}[WARNING] [XHTML Sink] No HTML tag found for unknown event: 'embed', ignoring!{noformat} 
> The resultant HTML has
> {code:xml}
> <div class="section"><h3>Demo<a name="Demo"></a></h3>
>   <center>
>     <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="620" codebase="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">
>       <param name="movie" value="dali.swf"></param>
>       <param name="play" value="true"></param>
>       <param name="loop" value="false"></param>
>       <param name="quality" value="low"></param>
>     </object>
>   </center>
>   <br />
> </div>
> {code}
> Is there a way I can get the generated HTML to include this valid HTML tag?
> Thx

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira