Extending

Last updated on
18 March 2021

This module was built to be extensible. It defines a ProviderEnhancer plugin type that can be used to enhance the user-experience of any oembed provider.

Provider Enhancers

Provider Enhancers offer various mechanisms that can be used to enhance user experience.  For example, provider enhancers can add custom javascript libraries, customize the thumbnail displayed for a video, customize the play button display and behavior, and even alter the response that comes back from the provider.  For convenience, a Base Implementation exists that contains the bare minimum required in order to lazy-load oEmbed content.

The default provider enhancer that ships as a sub-module includes the YouTube Enhancer implementation.

Help improve this page

Page status: No known problems

You can: