/islandora_embed

An islandora module that is used to provide oEmbed services

Primary LanguagePHP

oEmbed Provider for Islandora

Note: this module is an early-stage work-in-progress.

Introduction

An Islandora module that enables Islandora Objects to be embedded via oEmbed. Currently works with the Islandora Book Solution Pack.

Requirements

This module requires the following modules/libraries:

You're likely to want to be able to specify an appropriate display for oEmbeded content. There are a number of ways to do this, but we'll assume here that you're using:

Configuration

Islandora as an oEmbed provider:

  1. Install and enable: oembed_core, oembed_provider, themekey, entity_iframe_theme, and islandora_embed
  2. Configure a ThemeKey Switching Rule Chain for drupal:path = islandora/object/% and system:query_param = ui=embed to switch to the Entity Iframe theme.

Configure Drupal to use your Islandora oEmbed provider

Set up a new oembed service provider:

  1. Install and enable: link, oembed_field, and oembed
  2. Add a new provider in the oEmbed Configuration menu with Endpoint: $host-url/islandora/embed/ and Schemes: $host-url/islandora/embed/object/*

Now you can add an oEmbed field to a content type or add the oEmbed fitler to a text format. See the oEmbed module documentation for details.