Hotspot support

The viewer supports the rendering of hotspot icons on top of the main view. The appearance of hotspot icons is controlled through CSS as described in the Hotspots section.

See Hotspots.

Hotspots can either activate a Quick View feature on the hosting web page by triggering a JavaScript callback or redirect a user to an external web page.

Quick View hotspots

These types of hotspots should be authored using the “Quick View” action type in Dynamic Media, of AEM Assets - on demand. When a user activates such a hotspot, the viewer runs the quickViewActivate JavaScript callback and passes the hotspot data to it. It is expected that the embedding web page listens for this callback. When it triggers the page, it opens its own Quick View implementation.

Redirect to external web page

Hotspots authored for the action type “Quick View” in Dynamic Media of AEM Assets - on demand redirects the user to an external URL. Depending on settings made during authoring, the URL opens in a new browser tab, in the same window, or in the named browser window.

On this page