No description, website, or topics provided.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This project provides a Flash plugin for overriding the embed code in the 'Get Code' player menu. The plugin will automatically replace the default HTML embed code with an iframe, so that the embedded player is a smart player that will work in both HTML5 and Flash environments.


1. Download the latest GetCodeOverride.swf from here 2. Upload the SWF file to a server and make a note of the URL e.g. (make sure the swf is publicly accessible without any authentication or restriction); 3. Place a crossdomain.xml file on the server's web root directory where SWF file resides to allow the Brightcove player to communicate to the SWF. 4. Add "?viralPlayerID=[default viral player ID]&viralPlayerWidth=[default viral player width]&viralPlayerHeight=[default viral player height]" to URL by replacing [default viral player ID] value with the default viral player ID for your account, [default viral player width] with viral player's width and [default viral player height] with viral player's height e.g. Alternatively you can add these parameters to the player publishing code as below:
<pre>&lt;param name="viralPlayerID" value="[default viral player ID]" /&gt;
&lt;param name="viralPlayerWidth" value="[default viral player width]" /&gt;
&lt;param name="viralPlayerHeight" value="[default viral player height]" /&gt;</pre>

These parameters can be added via page URL where player published is e.g.

  1. Log in to your Brightcove account and navigate to the Publishing Module
  2. Double-click on the player and go to "Plug-ins" tab and enter previously noted URL for GetCodeOverride.swf (Make sure that the URL matches the SWF's location and have viralPlayerID parameter with viral player ID value in the URL).
  3. Finally save changes

Alternatively the plugin can be added as a Module to the BEML template.