123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- name: MediaEmbed
- version: 1.3.0
- description: "This plugin embeds several media sites (e.g. YouTube, Vimeo, Soundcloud) by only providing the URL to the medium."
- icon: spinner
- author:
- name: Sommerregen
- email: sommerregen@benjamin-regler.de
- homepage: https://github.com/sommerregen/grav-plugin-mediaembed
- keywords: [video, embed, oembed, media, youtube, vimeo, plugin]
- docs: https://github.com/sommerregen/grav-plugin-mediaembed/blob/master/README.md
- bugs: https://github.com/sommerregen/grav-plugin-mediaembed/issues
- license: MIT/GPL
- form:
- validation: strict
- fields:
- global:
- type: section
- title: "Global plugin configurations"
- underline: 1
- fields:
- enabled:
- type: toggle
- label: "Plugin Status"
- highlight: 1
- default: 0
- options:
- 1: "Enabled"
- 0: "Disabled"
- validate:
- type: bool
- built_in_css:
- type: toggle
- label: "Use built in CSS"
- highlight: 1
- default: 1
- options:
- 1: "Yes"
- 0: "No"
- validate:
- type: bool
- built_in_js:
- type: toggle
- label: "Use built in JS"
- highlight: 1
- default: 1
- options:
- 1: "Yes"
- 0: "No"
- validate:
- type: bool
- default:
- type: section
- title: "Default values for MediaEmbed configuration"
- underline: 1
- fields:
- media:
- type: section
- title: "Media"
- fields:
- media.width:
- type: text
- size: x-small
- label: "Default media width"
- default: 640
- placeholder: 640
- validate:
- type: int
- min: 0
- media.height:
- type: text
- size: x-small
- label: "Default media height including controls"
- default: 390
- placeholder: 390
- validate:
- type: int
- min: 0
- media.adjust:
- type: select
- size: medium
- label: "Adjust media size"
- help: Adjust media or keep default dimensions?
- default: 1
- options:
- 1: "True - Adjust media size"
- 0: "False - Keep default dimensions"
- validate:
- type: bool
- media.preview:
- type: toggle
- label: "Show preview"
- default: 1
- options:
- 1: "Yes"
- 0: "No"
- validate:
- type: bool
- media.responsive:
- type: toggle
- label: "Responsive media"
- help: "Allow media to be responsive"
- default: 1
- options:
- 1: "Enabled"
- 0: "Disabled"
- validate:
- type: bool
- media.protocol:
- type: text
- size: medium
- label: "Protocol"
- help: "Default protocol for remote media resources"
- default: "http://"
- placeholder: "http://"
- services:
- type: section
- title: "Services"
- fields:
- services.SoundCloud.enabled:
- type: toggle
- label: "Embed SoundCloud"
- default: 1
- options:
- 1: "Yes"
- 0: "No"
- validate:
- type: bool
- services.Spotify.enabled:
- type: toggle
- label: "Embed Spotify"
- default: 1
- options:
- 1: "Yes"
- 0: "No"
- validate:
- type: bool
- services.Flickr.enabled:
- type: toggle
- label: "Embed Flickr"
- default: 1
- options:
- 1: "Yes"
- 0: "No"
- validate:
- type: bool
- services.Imgur.enabled:
- type: toggle
- label: "Embed Imgur"
- default: 1
- options:
- 1: "Yes"
- 0: "No"
- validate:
- type: bool
- services.Instagram.enabled:
- type: toggle
- label: "Embed Instagram"
- default: 1
- options:
- 1: "Yes"
- 0: "No"
- validate:
- type: bool
- services.Dailymotion.enabled:
- type: toggle
- label: "Embed Dailymotion"
- default: 1
- options:
- 1: "Yes"
- 0: "No"
- validate:
- type: bool
- services.YouTube.enabled:
- type: toggle
- label: "Embed YouTube"
- default: 1
- options:
- 1: "Yes"
- 0: "No"
- validate:
- type: bool
- services.Vimeo.enabled:
- type: toggle
- label: "Embed Vimeo"
- default: 1
- options:
- 1: "Yes"
- 0: "No"
- validate:
- type: bool
- services.GitHub.enabled:
- type: toggle
- label: "Embed GitHub"
- default: 1
- options:
- 1: "Yes"
- 0: "No"
- validate:
- type: bool
- services.Slides.enabled:
- type: toggle
- label: "Embed Slides"
- default: 1
- options:
- 1: "Yes"
- 0: "No"
- validate:
- type: bool
- services.Twitter.enabled:
- type: toggle
- label: "Embed Twitter"
- default: 1
- options:
- 1: "Yes"
- 0: "No"
- validate:
- type: bool
|