In addition to attaching media to pages as media objects, media (images, audio, video) can be embedded directly into the body text of a page using the <obj> pseudo-element.
To place an image, audio file, or video file in the flow of a page’s body text, add the following code:
<obj id="####" style="CSS" download="true|false" linkRecord="true|false" showCredit="true|false">Caption</obj>
The <obj> element is not a valid HTML element and will be ignored outside of LearnPress. When used in LearnPress, it will be converted on display to the appropriate elements for display of the requested media.
<obj> should be treated as a block-level element.
true (default for audio/video) and false. If true, displays a link to download the media file. Ignored for images and documents.true and false (default). If true, displays a link to the media record.
true (default) and false. If true and a caption is specified, displays media credit after the caption.
em).Media embedded using <obj> are listed as media objects on the page record, with priority 0. The object records cannot be edited or deleted but reflect the use of <obj> pseudo-elements in the body text field.