⚙️ Video Settings control panel#
The Video Settings control panel configures global options for the sc-videos add-on.
Interface: sc.videos.controlpanels.interfaces.ISCVideoSettings
Registry prefix: sc.videos
Category: Products
REST API endpoint: /@controlpanels/video_settings
🏷️ Settings#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
Boolean |
|
When enabled, sc-videos uses the YouTube Data API v3 for metadata fetching. When disabled, it uses the public oEmbed endpoint (limited data). |
|
Text |
|
The Google API key for the YouTube Data API v3. Only used when |
🌐 Accessing via REST API#
GET /@controlpanels/video_settings
Accept: application/json
{
"@id": "http://localhost:8080/Plone/@controlpanels/video_settings",
"title": "Video Settings",
"group": "Products",
"schema": {
"fieldsets": [
{
"id": "default",
"title": "Default",
"fields": ["youtube_api_enabled", "youtube_api_key"]
}
]
},
"data": {
"youtube_api_enabled": false,
"youtube_api_key": "default"
}
}
See also
🔑 Configure the YouTube Data API. Step-by-step setup guide.
🔌 The provider system. How the setting affects client selection.