ckanext-video
A CKAN extension for embedding Youtube or Vimeo videos as views.
Overview
Adds an ‘Embedded Video’ view type, which displays a video from YouTube or Vimeo (either using the resource URL or a different URL).
Installation
Installing from PyPI
pip install ckanext-video
Installing from source
- Clone the repository into the
src folder:
cd $INSTALL_FOLDER/src
git clone https://github.com/NaturalHistoryMuseum/ckanext-video.git
- Activate the virtual env:
. $INSTALL_FOLDER/bin/activate
- Install via pip:
pip install $INSTALL_FOLDER/src/ckanext-video
Post-install setup
Add ‘video’ to the list of plugins in your config file:
ckan.plugins = ... video
Configuration
There are currently no options that can be specified in your .ini config file.
Usage
After enabling this extension in the list of plugins, the Embedded Video view should become available for resources. The resource does not have to link to the video; the URL can be overridden when creating the view.