You are here

youtube.schema.yml in YouTube Field 8

config/schema/youtube.schema.yml

File

config/schema/youtube.schema.yml
View source
  1. # Schema for the configuration files of the YouTube module.
  2. youtube.settings:
  3. type: config_object
  4. label: 'YouTube settings'
  5. mapping:
  6. youtube_suggest:
  7. type: boolean
  8. label: 'Show suggestions'
  9. youtube_modestbranding:
  10. type: boolean
  11. label: 'Hide logo'
  12. youtube_theme:
  13. type: boolean
  14. label: 'Light control bar'
  15. youtube_color:
  16. type: boolean
  17. label: 'Colored progress bar'
  18. youtube_enablejsapi:
  19. type: boolean
  20. label: 'JS API'
  21. youtube_wmode:
  22. type: boolean
  23. label: 'Fix IE8 overlay'
  24. youtube_override:
  25. type: boolean
  26. label: 'Allow parameter overrides'
  27. youtube_privacy:
  28. type: boolean
  29. label: 'Privacy-enhanced mode'
  30. youtube_player_class:
  31. type: string
  32. label: 'Player class'
  33. youtube_thumb_dir:
  34. type: string
  35. label: 'Thumbnail directory'
  36. youtube_thumb_hires:
  37. type: boolean
  38. label: 'Save higher resolution thumbnail images'
  39. youtube_thumb_token_image_style:
  40. type: string
  41. label: 'Default image token image style'
  42. field.formatter.settings.youtube_video:
  43. type: mapping
  44. label: 'YouTube video formatter settings'
  45. mapping:
  46. youtube_size:
  47. type: string
  48. label: 'YouTube video size'
  49. youtube_width:
  50. type: string
  51. label: 'Youtube width'
  52. youtube_height:
  53. type: string
  54. label: 'Youtube height'
  55. youtube_autoplay:
  56. type: boolean
  57. label: 'Play video automatically when loaded'
  58. youtube_mute:
  59. type: boolean
  60. label: 'Mute video by default when loaded'
  61. youtube_loop:
  62. type: boolean
  63. label: 'Loop the playback of the video'
  64. youtube_controls:
  65. type: boolean
  66. label: 'Always hide video controls'
  67. youtube_autohide:
  68. type: boolean
  69. label: 'Hide video controls after play begins'
  70. youtube_iv_load_policy:
  71. type: boolean
  72. label: 'Hide video annotations by default'
  73. field.formatter.settings.youtube_thumbnail:
  74. type: mapping
  75. label: 'YouTube thumbnail formatter settings'
  76. mapping:
  77. image_style:
  78. type: string
  79. label: 'Thumbnail image style'
  80. image_link:
  81. type: string
  82. label: 'What to link image to'
  83. field.formatter.settings.youtube_url:
  84. type: mapping
  85. label: 'YouTube URL formatter settings'
  86. mapping:
  87. link:
  88. type: boolean
  89. label: 'Output this field as a link'
  90. field.widget.settings.youtube:
  91. type: mapping
  92. label: 'Youtube widget settings'
  93. mapping:
  94. placeholder_url:
  95. type: string
  96. label: 'Placeholder URL'