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 just yet (for example, it may be hidden using display:none style assigned to it), the viewer suspends its initialization process until the moment when the web page brings the container element back to the layout. When this occurs, the viewer load automatically resumes.

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

Parameters

None.

Returns

{Object} A reference to the viewer instance.

Example

<instance>.init()

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free