docbook-apps

  • 1.  Re: [docbook-apps] How to add a Flash swf to a docbook xslt

    Posted 12-08-2008 17:21
    Hi,
    I don't have much experience using SWF, but I think using the HTML img
    element won't work in browsers. I think you need to use object and embed
    elements, but I don't know the details. Perhaps others could provide such
    details.

    The DocBook XSL stylesheets don't currently support putting SWF in such
    elements, but it could be done with a customization. Once you determine
    what HTML code is needed, you could work backward to create a customization
    to generate it.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net





  • 2.  Re: [docbook-apps] How to add a Flash swf to a docbook xslt

    Posted 12-08-2008 17:47
    Hi,

    There's a technote (from Adobe) on the tags that you would want to use:
    http://www.adobe.com/go/tn_4150

    It does seem to be a simplified approach which includes the embed tag as the
    alternative content within the object tag. It doesn't seem to have the
    javascript that Warren mentioned, so I'm not sure if there's a more robust
    approach out there.

    Paul


    On 12/8/08 9:20 AM, "Bob Stayton" <bobs@sagehill.net> wrote:

    > Hi,
    > I don't have much experience using SWF, but I think using the HTML img
    > element won't work in browsers. I think you need to use object and embed
    > elements, but I don't know the details. Perhaps others could provide such
    > details.
    >
    > The DocBook XSL stylesheets don't currently support putting SWF in such
    > elements, but it could be done with a customization. Once you determine
    > what HTML code is needed, you could work backward to create a customization
    > to generate it.
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    >
    >


  • 3.  Re: [docbook-apps] How to add a Flash swf to a docbook xslt

    Posted 12-08-2008 18:51
    Paul Norton wrote:
    >
    > a simplified approach which includes the embed tag as the
    > alternative content within the object tag.

    That seems likely to work. Due to the apparent age of the document, I'd
    test it in all the browsers I want to support to be sure, though.

    > It doesn't seem to have the
    > javascript that Warren mentioned, so I'm not sure if there's a more robust
    > approach out there.

    Since you don't need to generate the