Brightcove platform is one of the industry-leading platforms for media. Installing their package helps in better integration with Sitecore. Enjoy the benefits of both the worlds without much of a hassle. I will walk you through the installation steps. Those who are familiar with Brightcove installation till Sitecore 8 we would need to install two packages Sitecore Media Framework and Brightcove.
- Sitecore 9 (Documented on Sitecore 9.02)
- Cloud Account accesss
- Api Access keys
Official Documentation and Download links can be found in the following link
We just have one package, Media Framework is integrated in Brightcove module. Another change the Brightcove use to have their own versioning till now but going forward the Brightcove version will match the Sitecore major version. The version we will install is Brightcove 9 for Sitecore 9.
Install the package from the Sitecore Desktop or Control panel
Control Panel > Administration > Install a package
Sitecore Desktop > Choose Developement Tools > Installation Wizard
Click upload package > Choose the package downloaded and upload
Choose the uploaded package and click next
There is a note for post install, We might miss the notes I have copied the notes for convenience
After installation, update the Sitecore.MediaFramework.Services.Brightcove.Extended.config.disabled file with the correct values, then remove the .disabled extension.
Also, run the temp/Sitecore 9.0 Media Framework Reporting Data Update Script.sql script to create the reporting databases.
Click next and Install.
We need to deploy & publish the playback page events,
Select the Workbox option from the startup menu check the Analytics workflow and deploy the playback events.
I enabled the config file most of it was standard values only thing I updated was the BaseUrl at line 49. \inetpub\wwwroot\sc9.local\App_Config\Include\MediaFramework\Sitecore.MediaFramework.Services.Brightcove.Extended.config
Open the downloaded package and navigate to the following path to find the SQL Script mentioned by the package installer.
Brightcove.Media.Framework-9.0.1.zip\package.zip\files\temp\Sitecore 9.0 Media Framework Reporting Data Update Script
Let go to the content editor and expand the Media Library to check if we have a Mediaframework Item > Accounts
Time to create a new account before doing this follow this video to get the account credentials from the Brightcove cloud
Once we have the application client id and secret time to configure.Right click account and add an account. Key in the publisher id which is your account id.
Next Step would be to add players. We should match the players created in the cloud. I created two players one with and the other one is without the playlist. When you try to add a new player in the Sitecore it will ask you the player id use the one listed on the cloud.
Final step click on the settings and choose the default players.
We are all set now let us do an import to check if everything is working as expected. When you are in the Media > Media Framework Library.Choose the Mediaframework in the ribbon. Start with Import Tags to test and later do the Import Videos. Once the import is completed it should have all the videos and tags. Time to publish and use it on the site.
I faced an error while running the import from the Media Framework Ribbon action.
Account item validation failed.
I was able to sort out the issue with the help of Yogesh Patel, it was identified as Sitecore bug. The Sitecore.Kernel.dll needs to be patched as a fix. Please create a support ticket and request a patch for your environment to avoid overwriting any exisiting fixes and that should sort the issue.
I have attached the patch for your testing.
If you face any issues like the videos not showing try doing a reindex for the Mediaframework node.
If you are intrested in Brightcove install for Sitecore 8 refer Gopi's blog
Photo by Plush Design Studio on Unsplash
Subscribe to Bala Blog (bala.one) | Sitecore | Coveo | Brightcove
Get the latest posts delivered right to your inbox