An aggregate oEmbed provider for a variety of embedabble media players used by Europeana's data partners.
Licensed under the EUPL V.1.1.
For full details, see LICENSE.md.
- Ruby 2.x
The Europeana oEmbed Provider is a simple Sinatra application.
- Clone the repo
bundle install
bundle exec ruby app.rb -s Puma
(orforeman start
in development environments)
The application responds to oEmbed requests at its root path. For example:
http://localhost:3000/?url=http://www.ccma.cat/tv3/alacarta/programa/titol/video/955989/
Responses are in JSON format.
Provider | oEmbed type |
---|---|
CCMA | video |
crem-cnrs.fr | rich |
Ina.fr | video |
Picturepipe | video |
The European Library | rich |
A Dockerfile is included, optimised for small image size, for publication to a Docker repository and use in production environments.
export VERSION=0.3.1
docker build -t europeana/oembed-provider:${VERSION} .
docker run \
-p 8080:80 \
europeana/oembed-provider:${VERSION}
docker push europeana/oembed-provider:${VERSION}