937e03217ffa2f8bf884ec55e2073c78.yaml.php 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <?php
  2. return [
  3. '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
  4. 'filename' => '/var/www/html/user/plugins/vimeo/blueprints.yaml',
  5. 'modified' => 1591824173,
  6. 'data' => [
  7. 'name' => 'Vimeo',
  8. 'version' => '1.0.3',
  9. 'description' => '**Vimeo** is a plugin that converts markdown video links into the [Vimeo](https://vimeo.com) Universal Embed Code.',
  10. 'icon' => 'vimeo',
  11. 'author' => [
  12. 'name' => 'Christian Worreschk',
  13. 'email' => 'cw@marsec.de'
  14. ],
  15. 'homepage' => 'https://github.com/cworreschk/grav-plugin-vimeo',
  16. 'keywords' => 'vimeo, markdown, video, embed, iframe',
  17. 'bugs' => 'https://github.com/cworreschk/grav-plugin-vimeo/issues',
  18. 'docs' => 'https://github.com/cworreschk/grav-plugin-vimeo/blob/master/README.md',
  19. 'license' => 'MIT',
  20. 'form' => [
  21. 'validation' => 'strict',
  22. 'fields' => [
  23. 'tabs' => [
  24. 'type' => 'tabs',
  25. 'active' => 1,
  26. 'class' => 'subtle',
  27. 'fields' => [
  28. 'general' => [
  29. 'type' => 'tab',
  30. 'title' => 'PLUGIN_VIMEO.GENERAL',
  31. 'fields' => [
  32. 'enabled' => [
  33. 'type' => 'toggle',
  34. 'label' => 'PLUGIN_VIMEO.PLUGIN_STATUS',
  35. 'highlight' => 1,
  36. 'default' => 0,
  37. 'options' => [
  38. 1 => 'PLUGIN_VIMEO.ENABLED',
  39. 0 => 'PLUGIN_VIMEO.DISABLED'
  40. ],
  41. 'validate' => [
  42. 'type' => 'bool'
  43. ]
  44. ],
  45. 'plugin_css' => [
  46. 'type' => 'toggle',
  47. 'label' => 'PLUGIN_VIMEO.PLUGIN_CSS',
  48. 'help' => 'PLUGIN_VIMEO.PLUGIN_CSS_HELP',
  49. 'highlight' => 1,
  50. 'default' => 1,
  51. 'options' => [
  52. 1 => 'PLUGIN_VIMEO.ENABLED',
  53. 0 => 'PLUGIN_VIMEO.DISABLED'
  54. ],
  55. 'validate' => [
  56. 'type' => 'bool'
  57. ]
  58. ],
  59. 'editor_button' => [
  60. 'type' => 'toggle',
  61. 'label' => 'PLUGIN_VIMEO.EDITOR_BUTTON',
  62. 'help' => 'PLUGIN_VIMEO.EDITOR_BUTTON_HELP',
  63. 'highlight' => 1,
  64. 'default' => 1,
  65. 'options' => [
  66. 1 => 'PLUGIN_VIMEO.ENABLED',
  67. 0 => 'PLUGIN_VIMEO.DISABLED'
  68. ],
  69. 'validate' => [
  70. 'type' => 'bool'
  71. ]
  72. ]
  73. ]
  74. ],
  75. 'player_parameters' => [
  76. 'type' => 'tab',
  77. 'title' => 'PLUGIN_VIMEO.PLAYER',
  78. 'fields' => [
  79. 'player_parameters.autoplay' => [
  80. 'type' => 'toggle',
  81. 'label' => 'PLUGIN_VIMEO.AUTOPLAY',
  82. 'help' => 'PLUGIN_VIMEO.AUTOPLAY_HELP',
  83. 'highlight' => 1,
  84. 'default' => 0,
  85. 'options' => [
  86. 1 => 'PLUGIN_VIMEO.ENABLED',
  87. 0 => 'PLUGIN_VIMEO.DISABLED'
  88. ],
  89. 'validate' => [
  90. 'type' => 'bool'
  91. ]
  92. ],
  93. 'player_parameters.autopause' => [
  94. 'type' => 'toggle',
  95. 'label' => 'PLUGIN_VIMEO.AUTOPAUSE',
  96. 'help' => 'PLUGIN_VIMEO.AUTOPAUSE_HELP',
  97. 'highlight' => 1,
  98. 'default' => 1,
  99. 'options' => [
  100. 1 => 'PLUGIN_VIMEO.ENABLED',
  101. 0 => 'PLUGIN_VIMEO.DISABLED'
  102. ],
  103. 'validate' => [
  104. 'type' => 'bool'
  105. ]
  106. ],
  107. 'player_parameters.loop' => [
  108. 'type' => 'toggle',
  109. 'label' => 'PLUGIN_VIMEO.LOOP',
  110. 'help' => 'PLUGIN_VIMEO.LOOP_HELP',
  111. 'highlight' => 1,
  112. 'default' => 0,
  113. 'options' => [
  114. 1 => 'PLUGIN_VIMEO.ENABLED',
  115. 0 => 'PLUGIN_VIMEO.DISABLED'
  116. ],
  117. 'validate' => [
  118. 'type' => 'bool'
  119. ]
  120. ],
  121. 'player_parameters.player_id' => [
  122. 'type' => 'text',
  123. 'label' => 'PLUGIN_VIMEO.PLAYER_ID',
  124. 'size' => 'medium',
  125. 'help' => 'PLUGIN_VIMEO.PLAYER_ID_HELP'
  126. ],
  127. 'player_parameters.view' => [
  128. 'type' => 'section',
  129. 'title' => 'PLUGIN_VIMEO.PLAYER_VIEW',
  130. 'text' => 'PLUGIN_VIMEO.PLAYER_VIEW_TEXT',
  131. 'underline' => true,
  132. 'fields' => [
  133. 'player_parameters.title' => [
  134. 'type' => 'toggle',
  135. 'label' => 'PLUGIN_VIMEO.TITLE',
  136. 'help' => 'PLUGIN_VIMEO.TITLE_HELP',
  137. 'highlight' => 1,
  138. 'default' => 1,
  139. 'options' => [
  140. 1 => 'PLUGIN_VIMEO.ENABLED',
  141. 0 => 'PLUGIN_VIMEO.DISABLED'
  142. ],
  143. 'validate' => [
  144. 'type' => 'bool'
  145. ]
  146. ],
  147. 'player_parameters.portrait' => [
  148. 'type' => 'toggle',
  149. 'label' => 'PLUGIN_VIMEO.PORTRAIT',
  150. 'help' => 'PLUGIN_VIMEO.PORTRAIT_HELP',
  151. 'highlight' => 1,
  152. 'default' => 1,
  153. 'options' => [
  154. 1 => 'PLUGIN_VIMEO.ENABLED',
  155. 0 => 'PLUGIN_VIMEO.DISABLED'
  156. ],
  157. 'validate' => [
  158. 'type' => 'bool'
  159. ]
  160. ],
  161. 'player_parameters.byline' => [
  162. 'type' => 'toggle',
  163. 'label' => 'PLUGIN_VIMEO.BYLINE',
  164. 'help' => 'PLUGIN_VIMEO.BYLINE_HELP',
  165. 'highlight' => 1,
  166. 'default' => 1,
  167. 'options' => [
  168. 1 => 'PLUGIN_VIMEO.ENABLED',
  169. 0 => 'PLUGIN_VIMEO.DISABLED'
  170. ],
  171. 'validate' => [
  172. 'type' => 'bool'
  173. ]
  174. ],
  175. 'player_parameters.color' => [
  176. 'type' => 'colorpicker',
  177. 'label' => 'PLUGIN_VIMEO.COLOR',
  178. 'help' => 'PLUGIN_VIMEO.COLOR_HELP',
  179. 'highlight' => 1,
  180. 'default' => '#00adef'
  181. ]
  182. ]
  183. ]
  184. ]
  185. ]
  186. ]
  187. ]
  188. ]
  189. ]
  190. ]
  191. ];