Created
April 25, 2012 02:25
-
-
Save brandonaaskov/2485625 to your computer and use it in GitHub Desktop.
Enhancing Akamai Media Analytics with Brightcove
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_experienceModule = _brightcovePlayer.getModule(APIModules.EXPERIENCE) as ExperienceModule; var modules:Array = _experienceModule.getModules(); | |
for(var i in modules) | |
{ | |
var modIdentifier:ModuleIdentifier = modules[i]; | |
if(modIdentifier.path.indexOf("http://79423.analytics.edgesuite.net/csma/brightcove/BrightcoveCSMALoader.swf") != -1) | |
{ | |
//Akamai Module Found | |
var AkamaiPluginHandle:Object = _experienceModule.getElementByID(modIdentifier.id); //Setting the Custom Information | |
AkamaiPluginHandle.setData("customName1"," customValue1"); | |
AkamaiPluginHandle.setData("customName2"," customValue2"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment