init init

JavaScript API reference for Mixed Media Viewer.

init()

Starts the initialization of the Mixed Media Viewer. By this time the container DOM element must be created so that the viewer code can find it by its ID.

If the container element is not a part of the web page layout yet – for example, it may be hidden using display:none style – the viewer suspends its initialization process. It is suspended until the moment when the web page brings the container element back to the layout, at which point the viewer load automatically resumes.

Only call this method once during the viewer life cycle; subsequent calls are ignored.

Parameters section-ad069aaaf4f145f2b50ae5ac89ca1ed2

None.

Returns section-1d3cf85bc7cc4dfe9670e038d02b9101

{Object} A reference to the viewer instance.

Example section-9e9332aa86b74a5fb321375c03fdc5b3

<instance>.init()
recommendation-more-help
b7426f53-aad9-4c00-83fc-664f30f681e8