Reply
New Member
iana
Posts: 3
Registered: ‎05-12-2009
0 Kudos
Accepted Solution

BEML code for player with rollover controls

The player embedded in http://www.brightcove.com/products/ has very nifty controls that fade out when not in use, and fade back in when rolled over.

 

I suspect this is a custom implementation. :)  Could the BEML code (and associated files) be made available?

 

-iana

vj
Visitor
vj
Posts: 2
Registered: ‎05-07-2009
0 Kudos

Re: BEML code for player with rollover controls

[ Edited ]
I am also customizing a player for my company and would like to know how that is done. I have the player controls at the bottom and the requirements are to not display the player controls, but when hovered needs to show the controls.
Message Edited by vj on 05-15-2009 01:31 PM
Regular Contributor
digi-alex
Posts: 77
Registered: ‎02-26-2009
0 Kudos

Re: BEML code for player with rollover controls

[ Edited ]

The simplest solution for creating this type of overlay would be to build it as a custom SWF, and embed it in your BEML template using the SWFLoader component.

 

 

 

Alex Kieft

DigiNovations

Message Edited by BC-Marcia on 05-22-2009 05:51 PM
Alex Kieft
DigiNovations/KnowledgeVision
http://www.diginovations.com, http://www.knowledgevision.com
Visitor
Posts: 4
Registered: ‎05-18-2009
0 Kudos

Re: BEML code for player with rollover controls

Thanks Alex, I figured out how to load an external SWF using the BEML code. But I need to know how to interact with the player from the SWF. For e.g. if I have a Pause button in the swf file how do I call the pause function of the player.

 

 

Regular Contributor
digi-alex
Posts: 77
Registered: ‎02-26-2009
0 Kudos

Re: BEML code for player with rollover controls

Hi,

 

To get your SWF interacting with your player, you'll have to dive into the ActionScript Player API a little bit. The most direct way about it is:

 

1. Create a Flash CS4 or Flex project and install the Brightcove Player API SWC.

 

2. Extend the CustomModule class to take care of all the initialization stuff, and then in the initialize() function, get a reference to the PlayerModule with:

 

 

_playerModule = player.getModule(APIModules.VIDEO_PLAYER) as VideoPlayerModule;

 

 

3. Add a click event listener to your Pause button and create a handler function that will pause the video playback:

 

 

private function onPauseClick(event:MouseEvent):void { _playerModule.pause() }

 

Then, you can add additional functionality (play, seek, etc.) with the other VidoePlayer API methods. These instructions are super-simplified, but all the details are in the documentation articles I've linked to here.

Good luck!

 

Alex Kieft
DigiNovations/KnowledgeVision
http://www.diginovations.com, http://www.knowledgevision.com
New Member
iana
Posts: 3
Registered: ‎05-12-2009
0 Kudos

Re: BEML code for player with rollover controls

This is great info, and I don't want to stop the conversation, but what I'm really looking for is way to implement the rollover controls *without* loading an external swf.

 

-i

Contributor
tylerfuel
Posts: 19
Registered: ‎12-29-2008
0 Kudos

Re: BEML code for player with rollover controls

This is exactly what I am looking for as well.  The new Compact Minimizing Playlist Player (http://developer.brightcove.com/en/articles/compact-minimizing-list-player-as2-template-as3) cannot be used without development.  It would be great if Brightcove could make this new player available out of the box.
Brightcove Team
BC-Todd
Posts: 746
Registered: ‎12-21-2008
0 Kudos

Re: BEML code for player with rollover controls

A chromeless player with rollover controls as an out of the box template is one we are dedicated to deliver by the end of the year.
--todd
Visitor
NoahAmar
Posts: 6
Registered: ‎12-06-2009
0 Kudos

Re: BEML code for player with rollover controls

Hi Todd,

 

Just wanted to follow up on your comment. Since the end of the year is coming up in a few days, I just wanted to know if this feature has already been implemented. If not, can you give us a date of when we can expect it? As you can probably tell, this feature is hotly anticipated and would amazing if we can implement it for the new year. Thanks!

 

- Noah 

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

Re: BEML code for player with rollover controls

It was released earlier this month. There is now a global Chromeless Video Player template available for everyone to use, and if your account has access to BEML then you have can use the ChromelessVideoPlayer tag within your template definition.
--todd