Files
Ethica-vitrine/user/config/plugins/mediaembed.yaml
T
2018-04-11 17:57:57 +02:00

142 lines
3.7 KiB
YAML

enabled: true
link: false
built_in_css: true
built_in_js: true
media:
width: 640
height: 390
adjust: true
preview: true
responsive: true
protocol: 'http://'
services:
SoundCloud:
enabled: true
type: rich
example: 'https://soundcloud.com/semiseria/verruckert-ausschnitt'
url: 'w.soundcloud.com/player/?url=http://api.soundcloud.com/tracks/{:id}'
canonical: 'http://soundcloud.com/{:id}'
endpoint: 'http://soundcloud.com/oembed?url={:canonical}&format=json'
schemes:
- 'soundcloud.com/*'
- 'soundcloud.com/*/*'
- 'soundcloud.com/*/sets/*'
- 'soundcloud.com/groups/*'
- 'snd.sc/*'
params:
auto_play: false
buying: true
download: true
hide_related: false
liking: true
sharing: true
show_artwork: true
show_comments: true
show_playcount: true
show_user: true
visual: false
Spotify:
enabled: true
type: rich
canonical: 'http://open.spotify.com/track/{:id}'
endpoint: 'https://embed.spotify.com/oembed/?url={:canonical}&format=json'
schemes:
- 'open.spotify.com/track/*'
- 'spoti.fi/*'
Flickr:
enabled: true
type: photo
canonical: 'http://www.flickr.com/photos/{:id}'
endpoint: 'http://flickr.com/services/oembed?url={:canonical}&format=json'
schemes:
- 'flickr.com/photos/*'
- 'flic.kr/*'
Imgur:
enabled: true
type: rich
canonical: 'http://imgur.com/gallery/{:id}'
endpoint: 'http://api.imgur.com/oembed?url={:canonical}&format=json'
schemes:
- 'imgur.com/gallery/*'
- 'imgur.com/a/*'
- 'imgur.com/*'
Instagram:
enabled: true
type: rich
canonical: 'http://instagram.com/p/{:id}'
endpoint: 'http://api.instagram.com/oembed?url={:canonical}&format=json'
schemes:
- 'instagr.am/p/*'
- 'instagram.com/p/*'
Dailymotion:
enabled: true
type: video
url: 'www.dailymotion.com/embed/video/{:id}'
canonical: 'http://dailymotion.com/video/{:id}'
endpoint: 'http://www.dailymotion.com/services/oembed?url={:canonical}&format=json'
schemes:
- 'dailymotion.com/video/*'
- 'dailymotion.com/*/video/*'
- 'dai\.ly/*'
params:
quality: 1080
YouTube:
enabled: true
type: video
url: 'www.youtube.com/embed/{:id}'
canonical: 'http://www.youtube.com/watch?v={:id}'
endpoint: 'http://www.youtube.com/oembed?url={:canonical}&format=json'
schemes:
- 'youtube.com/watch?*v=*'
- 'youtube.com/embed/*'
- 'youtube.com/v/*'
- 'youtube.com/?*v=*'
- 'youtu.be/*'
params:
autoplay: 0
modestbranding: 1
theme: light
Vimeo:
enabled: true
type: video
url: 'player.vimeo.com/video/{:id}'
canonical: 'https://vimeo.com/{:id}'
endpoint: 'http://vimeo.com/api/oembed.json?url={:canonical}'
schemes:
- 'vimeo.com/*'
- 'vimeo.com/channels/*/*'
- 'vimeo.com/groups/*/videos/*'
params:
autoplay: 0
Github:
enabled: true
type: rich
canonical: 'https://gist.github.com/{:id}'
endpoint: 'https://gist.github.com/{:id}.json'
schemes:
- 'gist.github.com/*'
- 'gist.github.com/*/*'
- 'gist.github.com/*?*'
Slides:
enabled: true
type: rich
canonical: 'http://slides.com/{:id}'
endpoint: 'http://slides.com/{:id}'
schemes:
- 'slides.com/*'
- 'slid.es/*'
params:
style: light
width: 1920
height: 1400
Twitter:
enabled: true
type: rich
canonical: 'https://twitter.com/{:id}'
endpoint: 'https://api.twitter.com/1/statuses/oembed.json?url={:canonical}'
schemes:
- 'twitter.com/*'
- 'twitter.com/*/*'
GitHub:
enabled: true