Under maintenance

Heretto Help

Object Element (object)

The object element corresponds to the HTML object element and enables authors to embed multimedia objects such as animated images, applets, plug-ins, ActiveX controls, videos, and other interactive content within DITA topics.

The object element serves these primary purposes:

  • Embeds multimedia and interactive content within DITA documentation

  • Provides fallback content for situations where objects cannot be displayed

  • Supports various media types through standardized HTML-based implementation

  • Enables key-based referencing for multimedia resources

Key characteristics of the object element:

  • Derives its attribute semantics from HTML specifications

  • Uses type attribute for MIME types rather than DITA content types

  • Can contain desc, param, and fallback content

  • Supports both direct URI references and key-based references

Content within the object element generally follows these output formatting rules:

  • Objects are rendered according to their MIME type and output format capabilities

  • Output processors may modify data to enable compatible function across various browsers

  • Fallback content from desc child elements is used when objects cannot be rendered

  • Objects are scaled to specified dimensions using height and width attributes when necessary

  • Embedded multimedia objects transform to HTML object elements in web-based outputs

An object element consists of these optional child elements:

Description (desc)
An optional element that provides alternate content to display when the object cannot be rendered. This text serves as fallback content for accessibility and situations where multimedia content is unavailable.
Parameter (param)
Optional elements that pass parameters to the object. Multiple param elements can be included, each with name and value attributes to configure the embedded object's behavior.
Fallback content
Any valid DITA block content can be included as fallback material to display when the object cannot be rendered by the output processor.

Use object to:

  • Embed Flash animations, Java applets, or ActiveX controls in documentation

  • Include video or audio clips within help topics or training materials

  • Integrate interactive demonstrations or simulations in technical content

  • Present specialized visualizations that require browser plug-ins

  • Provide multimedia content with appropriate fallback for accessibility

The object element referencing a video added to a concept in the Heretto CCMS Content Editor. Videos do not render in the Content Editor but they do render in relevant outputs like Heretto Portal.

Layer 1

The DITA source of the object element with the surrounding context of a reference topic:

<concept id="concept-7922" xml:lang="en-us">
    <title>Coffee Extraction Techniques and Methods</title>
    <shortdesc>Explore different coffee extraction methods and techniques to understand how brewing approach affects flavor extraction, body, and overall cup characteristics for various coffee preparation styles.</shortdesc>
    <prolog>
        <author translate="no" type="creator">Heretto User &lt;user@heretto.com&gt;</author>
    </prolog>
    <conbody>
        <section>
            <title>Pour Over Extraction</title>
            <p>Pour over methods use gravity-fed water flow through a filter bed, ensuring precise control over extraction variables and highlighting clarity and brightness in coffee flavors:</p>
            <ul>
                <li>
                    <p>Controlled water flow: Manual pouring enables variable flow rates and saturation patterns. Slow, circular pours ensure even saturation while faster pours can create channeling effects.</p>
                    <note type="tip">Use a gooseneck kettle for precise pour control and maintain consistent circular motions to avoid over-extracting the center of the coffee bed.</note>
                </li>
                <li>
                    <p>(...)</p>
                </li>
            </ul>
        </section>
        <section>
            <title>Visual Demonstration: Pour Over Technique</title>
            <p>Proper pour over technique requires understanding water flow patterns and timing. The following video demonstrates optimal pouring technique for V60 brewing:</p>
            <object data="../../../Media/pour-over-technique.mp4" height="360" id="pour_over_demo" outputclass="iframe" type="video/mp4" width="640">
                <desc>Demonstration video showing proper V60 pour over technique including bloom phase, spiral pouring pattern, and timing for optimal extraction</desc>
                <param name="quality" value="high"/>
                <param name="controls" value="true"/>
                <param name="autoplay" value="false"/>
                <param name="allowfullscreen"/>
                <param name="frameborder" value="0"/>
            </object>
            <p>Key techniques shown in the demonstration include maintaining consistent pour height, executing smooth circular motions, and timing each pour phase for balanced extraction.</p>
            <p>(...)</p>
        </section>
    </conbody>
</concept>