Remote Video
This module expands core remote_video
functionality so more Remote Video metadata can be stored in Drupal. This allows for more
advanced video management and display options.
Installation
- Install the module as you would normally install a contributed Drupal module. Visit Installing contributed modules for further information.
- Enable the module by navigating to
Extend
and selecting theRemote Video
module. - Configure the module by navigating to
/admin/config/services/remote_video
. - If no related
remote_video_*
modules are enabled, the module will suggest a few to consider. - Once you have installed & enabled one or more of those modules, configuration options will appear upon page refresh.
Usage
For this example, use of YouTube is required.
- Install and enable the
remote_video_youtube
module. - Navigate to
/media/add/remote_video
. - Set
Video URL
to Driesnote: Lille DrupalCon 2023. - Save the form. You will see the video's metadata has been imported. Customize it, if necessary & Publish.
API
This module may be configured by other remote_video_*
modules (e.g. remote_video_youtube
).
Refer to remote_video_youtube for an example. Clone it if you would like to start making a new remote_video_*
module.
After installation & registration, the module provides a remote_video_youtube
service that can be used
to fetch video metadata. The remote_video_youtube
service relies on config managed by this module to make
API requests.