Tridion Connector for Brightcove usage in Content Delivery
With the Tridion Connector for Brightcove, Content Delivery's open GraphQL interface is capable of retrieving video content from Brightcove Video Cloud.
Deployment to the Content Service
You can deploy the connector into the Content Service using the standard extension mechanism provided by the Add-ons Service. The deployment process registers into the GraphQL engine any additional GraphQL capabilities and data types that will be needed to support content from Brightcove Video Cloud.
GraphQL requests
externalItem- use to get a single Brightcove assetexternalItems- use to search for or list a set of Brightcove assets
Entity types
BrightcoveFolder- a folder in Brightcove Video CloudBrightcoveVideo- a Brightcove Video Cloud video assetBrightcovePlaylist- a Brightcove Video Cloud playlistBrightcovePlayer- a specific Brightcove Video Cloud player
Example request
The following sample code illustrates getting a Brightcove video:
{
externalItem(eclUri: "ecl:2-brightcove-6190897370001-BrightcoveVideo-file") {
... on BrightcoveVideo {
videoId
accountId
title
filename
binaryReference
thumbnail
images{
type
src
width
height
}
link
{
text
url
}
longDescription
tags
}
}
}
For more examples, refer to the GraphQL reference section.