Reply
Visitor
gromit
Posts: 9
Registered: ‎01-28-2009
0 Kudos
Accepted Solution

Brightcove Badges in Brightcove 3?

Hi everyone, is there a way to make brightcove badges for Brightcove 3 players?

 

http://studio.brightcove.com/library/howto/creating-badges/index.cfm

 

 

 

When I try using a Brightcove 3 ID in the badge javascript, I get an error: "Cannot Load Player Details"

 

 

Brightcove Team
BC-Bob
Posts: 342
Registered: ‎12-12-2008
0 Kudos

Re: Brightcove Badges in Brightcove 3?

The badges discussed in the studio page referenced only work with BC2 (aka AS2) players managed in the Console. If you're interested, with a little custom development, you could create a BEML-based "badge" that displays the videos of a playlist, captures the click with a custom Module and directs the user via a new web browser. We might be able to package up some sample code for such a custom template. 

Visitor
gromit
Posts: 9
Registered: ‎01-28-2009
0 Kudos

Re: Brightcove Badges in Brightcove 3?

Oh OK.  I'm not a developer myself.  I'll have to see if my colleague might have some time sometime to work on it, but it'll probably be a while.

 

Thanks for your help, BC Bob!

Visitor
Times-Tribune
Posts: 4
Registered: ‎02-05-2009
0 Kudos

Re: Brightcove Badges in Brightcove 3?

Bob, we would be interestd in seeing the sample code to create a BC3 badge.
Brightcove Team
BC-Bob
Posts: 342
Registered: ‎12-12-2008
0 Kudos

Re: Brightcove Badges in Brightcove 3?

No problem! We're going to work to package this information up in the next couple of weeks. 
Brightcove Team
BC-Todd
Posts: 746
Registered: ‎12-21-2008

Re: Brightcove Badges in Brightcove 3?

I've attached an example of how you would use a List with a custom module to capture clicks and open a new page with the selected video playing. We will include this with our API examples in the next release, but I wanted to include it here for those currently looking for the solution.
--todd
Visitor
gromit
Posts: 9
Registered: ‎01-28-2009
0 Kudos

Re: Brightcove Badges in Brightcove 3?

Thanks for this!
Visitor
Jose_j
Posts: 6
Registered: ‎02-24-2009
0 Kudos

Re: Brightcove Badges in Brightcove 3?

Hey Todd,

 

 

I made all the changes on the files, but where am i suppose to put the badge.as file?

 

Thanks, 

 

Brightcove Team
BC-Todd
Posts: 746
Registered: ‎12-21-2008
0 Kudos

Re: Brightcove Badges in Brightcove 3?

You need to compile that into the SWF (step 3 in the readme.txt). The files include a Flex Builder project you can use to compile the SWF (alternatively you could use the free command line mxmlc compiler).
--todd
Visitor
Jose_j
Posts: 6
Registered: ‎02-24-2009
0 Kudos

Re: Brightcove Badges in Brightcove 3?

Oh right, yes, did that part,

 

My other question is, if on step 6 you have the html code for the player, what's step 7 for? Is it the same code?