oEmbed-omeka-module/README.md

43 lines
1.0 KiB
Markdown
Raw Normal View History

2021-09-02 13:38:14 +02:00
# ArchiveOembed videos for Omeka S
2021-09-02 13:40:50 +02:00
[oEmbed-omeka-module] is a module for [Omeka S] that embeds media and defines height and width.
2021-09-02 13:38:14 +02:00
## Install
```
cd ./modules
https://git.hangar.org/arcHIVE-tech/oEmbed-omeka-module/archive/main.zip
unzip main.zip
mv archiveOembed-omeka-module ArchiveOembed
rm main.zip
```
2021-09-02 14:17:35 +02:00
## Media Providers
Thos Omeka module is compatible with these media providers
* Vimeo
* Youtube
* Sketchfab
To add a new provider, edit `./Module.php` and add the provider's name and oEmbed url to the `MEDIA_PROVIDERS_OEMBED` array
```
const MEDIA_PROVIDERS_OEMBED = [
'https://vimeo.com/api/oembed.json?url=' => 'Vimeo',
'https://www.youtube.com/oembed?url=' => 'Youtube',
'https://sketchfab.com/oembed/?url=' => 'Sketchfab',
... your new provider here ..
];
```
2021-09-02 13:38:14 +02:00
## LISENCE
The module is released under the [MIT] License.
[arc-hive]: https://arc-hive.zone/
2021-09-02 13:40:50 +02:00
[oEmbed-omeka-module]: https://git.hangar.org/arcHIVE-tech/oEmbed-omeka-module
2021-09-02 13:38:14 +02:00
[Omeka S]: https://omeka.org/s
[MIT]: http://opensource.org/licenses/MIT