OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dita message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Review c items: Example for <object>


An example in the <object> topic uses Flash; we need TC members to come up with an alternate example that meets the following criteria:

Here's the current example:

The following code sample shows how key definitions can be used to reference the main content for anÂ<object>:

<object id="cutkey370"
    classidkeyref="video_classid"
    codebasekeyref="video_codebase"
    datakeyref="cutkey370"
    height="280"
    width="370">
  <desc>Video illustration of how to cut a key</desc>
  <fallback>Media not available.</fallback>
  <param name="movie" keyref="cutkey370"/>
  <param name="quality" value="high"/>
  <param name="bgcolor" value="#FFFFFF"/>
</object>
In this scenario, the keys could be defined as follows:
<map>
  <!-- ... -->
  <!-- NOTE: Using @scope="external" because the class ID is a URI
       that is not intended to be directly resolved. -->
  <keydef keys="video_classid"
    href=""
    scope="external" />

  <!-- NOTE: Using @scope="external" to avoid systems trying to
             download this file when they don't need to. -->
  <keydef keys="video_codebase"
    href="" class="moz-txt-link-rfc2396E" href="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    format="shockwave"
    scope="external" />

  <!-- Using @scope="external" here because the referenced URL is not intended
       to be resolved in isolation but relative to the codebase URI. -->
  <keydef keys="cutkey370"
    href=""
    type="application/x-shockwave-flash"
    scope="external" />
  <!-- ... -->
</map>

Figure 3.ÂObject with indirect reference to a flash file

--
Best,
Kris





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]