Connector for Brightcove configuration properties
Implementing the Tridion Connector for Brightcove requires a JSON configuration file, which defines your specific integration of Tridion with Brightcove Video Cloud.
In the connectors's JSON configuration file, use the following properties:
AccountId- The account ID of the Brightcove Video Cloud instance.
- clientId
- Client username to be used to authenticate over OAuth.
- clientSecret
- Client password to be used to authenticate over OAuth.
GlobalPlayerId- The ID of the default Brightcove video player.
HtmlFragmentTemplate- (Optional) A template for an HTML fragment, which will be used to render the video or playlist.
- pageSize
- Default page size when doing search and list operations.
Example configuration file
The following sample code illustrates a configuration file that includes the Connector for Brightcove:
{
"configuration": {
"BrightcoveConnector": {
"configuration": {
"AccountId": "1234567890000",
"ClientId": "1234fab1-1ab1-2cde-1234-f56785678gh",
"ClientSecret": "aFakeClientSecret_secret123.secret123secret123",
"GlobalPlayerId": "default",
"HtmlFragmentTemplate": "<iframe src={0} style=\"position: absolute; top: 0px; right: 0px;
bottom: 0px; left: 0px; width: 100%; height: 100%;\"></iframe>",
"pageSize": 25
}
}
},
"sitesCm": {
"isEnabled": true,
"BrightcoveConnector": {
"namespaces": {
"brightcove": {
"displayName": "Brightcove Connector",
"stubFolders": [ "tcm:2-71-2" ],
"privilegedUserName": "Administrator"
}
}
}
}
}