Brightcove 3 introduced the Media API, a means by which third-party applications can access and manipulate content within your Brightcove account. yospaceCDS can utilise the Media API to take content from your Brightcove so that you can publish it to mobile. The Media API allows for many possibilities, this article shows a handful of API calls that you might find useful.
To integrate with Brightcove, you simply set-up an RSS Input Feed in Brightcove V3 mode in the yospaceCDS Content Management Console. Once this is done, content will automatically copy into your yospaceCDS account. Any content you subsequently add or remove will be automatically synchronised.
Log in to the yospaceCDS Content Management Console and create a new Content Group. This Content Group will hold the videos that you bring in from Brightcove.
For more information on Content Groups, view this page.
In order to use the Brightcove Media API, you must have a token. The token is necessary because it authenticates your API call to Brightcove. In order to synchronise content from your Brightcove account, yospaceCDS requires a read-only token with the ability to access the binary Flash Video files. To obtain your token, you will need to write to Brightcove Support. To find out your Brightcove Publisher ID (required to help support identify your account) login to the Brightcove Console and select the Profile link on the top right of the home screen.
To: Brightcove Support
Subject: Request for Media API Token
In order to integrate our Brightcove account with yospaceCDS for mobile
device delivery, we require:
1) Our account to be set up for dual delivery
2) The yospaceCDS IP address 220.127.116.11 whitelisted for content
acquisition from our Brightcove account
3) A read-only token with the FLVURL switch enabled.
Publisher ID: <Your Brightcove Publisher ID>
The Media API is called using a specially constructed URL. Some common examples are provided here. For more information, the Media API is explained within Brightcove's Support portal.
Important: When using these examples, ensure to replace the [T] with the token you received from Brightcove Support. The token is a series of alphanumeric characters ending in a full-stop (period). You must copy the whole token including the full-stop at the end.
Important: These example URLs are intended to copied as a single line.
This example URL will allow you to publish the contents of a specific playlist to mobile. You will need to identify the ID of the Playlist that you want to publish in your Brightcove account and replace the [P] in this example URL with it.
This examples demonstrates how you can publish video titles to mobile that match on a keyword or search string. You will need to replace the [S] with string of text you want. You will need to ensure this text is URL Encoded. If you are unfamiliar with URL Encoding, you can use this online tool to convert your required text into URL Encoded text.
Similar to the previous example, this will match videos by assigned tags. Replace the [S] with the tags that you are interested in, remembering to URL Encode them (see above).
If you want to publish to mobile videos that belong to a specific Campaign, get the Campaign ID you want from your Brightcove account and replace the [C] in this example with it.
This example will get all the videos in your Brightcove account.
Now create an RSS Input Feed in the yospaceCDS Content Management Console, and paste the URL you copied from the Brightcove Console into the Source URL box.
Make sure that you have selected 'Brightcove v3' from the Feed Type selector.
For more information on setting up RSS Input Feeds, go to this page.
Decide where you want your content to be available. You can publish your content as a Podcast, Nokia Video Center feed, surface it in your own mobile site or handset application using MRSS, or create a channel in EyeVibe, the UK's largest mobile video community.
For more information on publishing content in yospaceCDS, go to this page.