
Use this media type when you would like to pull in external multimedia content (like audio, video, Java applets, and PDF) that are handled by browser plugins. For example, if you wanted to embed a WEBM movie into your Help item, the code would use an OBJECT tag and would look like this:
<object height="250" width="500" data="https://www.shutterstock.com/shutterstock/videos/3552321153/preview/stock-footage-online-services-visualization-in-a-diverse-modern-office-environment-top-down-view-on-a-futuristic.webm"></object>
The <object> tag has the following attributes:
| ATTRIBUTE | VALUE | DESCRIPTION |
|---|---|---|
| data | URL | It specifies the URL of data in the object. |
| type | media_type | It specifies the media type of data specified in the data attribute. |
| typemustmatch | boolean | It indicates that the resource should be embedded only if the value of the type attribute matches with the type of the resource provided on the data attribute. |
| align | left, right, top, bottom | It defines the alignment of the objects. |
| border | pixels | It specifies the border around the object. |
| height | pixels | It specifies the height of the object. |
| hspace | pixels | It specifies the whitespace on the left and right side of the object. |
| vspace | pixels | It specifies the whitespace on the top and bottom of the object. |
| height | pixels | It specifies the height of the object. |
| width | pixels | It specifies the width of the object. |
| name | name | It specifies the name for an object. |
| form | form_id | It specifies the form id to which the object element belongs to. |
- Google Chrome
- Firefox
- Opera
Embedding Videos from Microsoft Stream
Custom EMBED or OBJECT tag supports autoplay of Stream videos on certain pages, however it is not guaranteed due to current security policies and might change in the future as browser and site security policies change.
When embedding a video from Stream, "Show Title or Responsive" must be set to OFF. Otherwise, video will not be displayed.
Embedding a PDF
Embedding a PDF using a simple embed code is not supported as it poses a security risk. This is also true for embedding other kinds of script tags, as any JavaScript is forbidden.
PDF can be embedded by using an iFrame:
<iframe src="url_with_path_to_pdf"></iframe>