blueprints.yaml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. name: MediaEmbed
  2. version: 1.3.0
  3. description: "This plugin embeds several media sites (e.g. YouTube, Vimeo, Soundcloud) by only providing the URL to the medium."
  4. icon: spinner
  5. author:
  6. name: Sommerregen
  7. email: sommerregen@benjamin-regler.de
  8. homepage: https://github.com/sommerregen/grav-plugin-mediaembed
  9. keywords: [video, embed, oembed, media, youtube, vimeo, plugin]
  10. docs: https://github.com/sommerregen/grav-plugin-mediaembed/blob/master/README.md
  11. bugs: https://github.com/sommerregen/grav-plugin-mediaembed/issues
  12. license: MIT/GPL
  13. form:
  14. validation: strict
  15. fields:
  16. global:
  17. type: section
  18. title: "Global plugin configurations"
  19. underline: 1
  20. fields:
  21. enabled:
  22. type: toggle
  23. label: "Plugin Status"
  24. highlight: 1
  25. default: 0
  26. options:
  27. 1: "Enabled"
  28. 0: "Disabled"
  29. validate:
  30. type: bool
  31. built_in_css:
  32. type: toggle
  33. label: "Use built in CSS"
  34. highlight: 1
  35. default: 1
  36. options:
  37. 1: "Yes"
  38. 0: "No"
  39. validate:
  40. type: bool
  41. built_in_js:
  42. type: toggle
  43. label: "Use built in JS"
  44. highlight: 1
  45. default: 1
  46. options:
  47. 1: "Yes"
  48. 0: "No"
  49. validate:
  50. type: bool
  51. default:
  52. type: section
  53. title: "Default values for MediaEmbed configuration"
  54. underline: 1
  55. fields:
  56. media:
  57. type: section
  58. title: "Media"
  59. fields:
  60. media.width:
  61. type: text
  62. size: x-small
  63. label: "Default media width"
  64. default: 640
  65. placeholder: 640
  66. validate:
  67. type: int
  68. min: 0
  69. media.height:
  70. type: text
  71. size: x-small
  72. label: "Default media height including controls"
  73. default: 390
  74. placeholder: 390
  75. validate:
  76. type: int
  77. min: 0
  78. media.adjust:
  79. type: select
  80. size: medium
  81. label: "Adjust media size"
  82. help: Adjust media or keep default dimensions?
  83. default: 1
  84. options:
  85. 1: "True - Adjust media size"
  86. 0: "False - Keep default dimensions"
  87. validate:
  88. type: bool
  89. media.preview:
  90. type: toggle
  91. label: "Show preview"
  92. default: 1
  93. options:
  94. 1: "Yes"
  95. 0: "No"
  96. validate:
  97. type: bool
  98. media.responsive:
  99. type: toggle
  100. label: "Responsive media"
  101. help: "Allow media to be responsive"
  102. default: 1
  103. options:
  104. 1: "Enabled"
  105. 0: "Disabled"
  106. validate:
  107. type: bool
  108. media.protocol:
  109. type: text
  110. size: medium
  111. label: "Protocol"
  112. help: "Default protocol for remote media resources"
  113. default: "http://"
  114. placeholder: "http://"
  115. services:
  116. type: section
  117. title: "Services"
  118. fields:
  119. services.SoundCloud.enabled:
  120. type: toggle
  121. label: "Embed SoundCloud"
  122. default: 1
  123. options:
  124. 1: "Yes"
  125. 0: "No"
  126. validate:
  127. type: bool
  128. services.Spotify.enabled:
  129. type: toggle
  130. label: "Embed Spotify"
  131. default: 1
  132. options:
  133. 1: "Yes"
  134. 0: "No"
  135. validate:
  136. type: bool
  137. services.Flickr.enabled:
  138. type: toggle
  139. label: "Embed Flickr"
  140. default: 1
  141. options:
  142. 1: "Yes"
  143. 0: "No"
  144. validate:
  145. type: bool
  146. services.Imgur.enabled:
  147. type: toggle
  148. label: "Embed Imgur"
  149. default: 1
  150. options:
  151. 1: "Yes"
  152. 0: "No"
  153. validate:
  154. type: bool
  155. services.Instagram.enabled:
  156. type: toggle
  157. label: "Embed Instagram"
  158. default: 1
  159. options:
  160. 1: "Yes"
  161. 0: "No"
  162. validate:
  163. type: bool
  164. services.Dailymotion.enabled:
  165. type: toggle
  166. label: "Embed Dailymotion"
  167. default: 1
  168. options:
  169. 1: "Yes"
  170. 0: "No"
  171. validate:
  172. type: bool
  173. services.YouTube.enabled:
  174. type: toggle
  175. label: "Embed YouTube"
  176. default: 1
  177. options:
  178. 1: "Yes"
  179. 0: "No"
  180. validate:
  181. type: bool
  182. services.Vimeo.enabled:
  183. type: toggle
  184. label: "Embed Vimeo"
  185. default: 1
  186. options:
  187. 1: "Yes"
  188. 0: "No"
  189. validate:
  190. type: bool
  191. services.GitHub.enabled:
  192. type: toggle
  193. label: "Embed GitHub"
  194. default: 1
  195. options:
  196. 1: "Yes"
  197. 0: "No"
  198. validate:
  199. type: bool
  200. services.Slides.enabled:
  201. type: toggle
  202. label: "Embed Slides"
  203. default: 1
  204. options:
  205. 1: "Yes"
  206. 0: "No"
  207. validate:
  208. type: bool
  209. services.Twitter.enabled:
  210. type: toggle
  211. label: "Embed Twitter"
  212. default: 1
  213. options:
  214. 1: "Yes"
  215. 0: "No"
  216. validate:
  217. type: bool