05-14-2009 07:32 PM
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
Solved! Go to Solution.
05-15-2009 01:25 PM - edited 05-15-2009 01:31 PM
05-19-2009 11:30 AM - last edited on 05-22-2009 05:51 PM by BC-Marcia
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
05-26-2009 10:38 AM
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.
05-26-2009 11:06 AM
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.
05-26-2009 12:19 PM
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
11-16-2009 07:45 PM
11-16-2009 09:27 PM
12-25-2009 09:02 PM
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
12-25-2009 10:00 PM
Brightcove Inc., a leading global provider of cloud content services, provides a family of products used to publish and distribute the world's professional digital media. The company's products include Brightcove Video Cloud, the market-leading online video platform, and Brightcove App Cloud, the pioneering content app platform. Together, more than 4,200 customers in 50 countries rely on Brightcove's cloud content services to build and operate exceptional media experiences across PCs, smartphones, tablets and connected TVs.
Brightcove Inc.
© 2012 Brightcove Inc.
