Embeddings

Embeddings

Introduction

Option

Description

URL structure

Example

Option

Description

URL structure

Example

Direct view

Proxies to the browse or access representation of the record.

https://<base url>/views/direct/<record id>

https://integration.mediahaven.com/views/direct/82904cf5bd5e444196ac9ff6afc04e8432db7a01adc6462999ab7c4fc88f3381a9c3d0c87508471a91548ee4b5dcc72a

Rich view

Returns embeddable HTML, such as a video player for audio/video or a carousel for multiple items.

https://<base url>/views/rich/<record id>

https://integration.mediahaven.com/views/rich/82904cf5bd5e444196ac9ff6afc04e8432db7a01adc6462999ab7c4fc88f3381a9c3d0c87508471a91548ee4b5dcc72a

Direct view

The direct view option proxies to the browse or access representation of the record.

Item

Details

Item

Details

URL structure

The URL structure is: https://<base url>/views/direct/<record id>

Options

Option

Effect

Default

Option

Effect

Default

keyframe

If true, serve the keyframe (thumbnail) image instead of the preview file

false

Rich view

The rich view option returns HTML containing:

  • The MediaHaven video player for audio and video content

  • A carousel to show multiple items, with each item a direct view embed link

  • Same as the direct view for other content

Options

Option

Effect

Default

Option

Effect

Default

autoplay

If true, start playing the embedded video instantly

false

Old embed links

MediaHaven 1.0 embed paths are still supported and point to the new embed format: flat data objects with Media type Video, Audio and Ensemble point to the rich view, and all other objects point to the direct view.