This file contains hidden or 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
| (function() { | |
| "use strict"; | |
| var player = window.MTVNPlayer.getPlayers()[0]; | |
| // this is required because the flash player doesn't emit a config event yet. | |
| if(!player.config.module) { | |
| player.config.module = {}; | |
| } | |
| player.config.formFactorID = prompt("formFactorID"); // change this to test different form factors. | |
| // adjust these urls to your liking. | |
| player.config.module.endslate = { |
This file contains hidden or 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
| // make sure this is defined on window. | |
| var _gaq = window._gaq = window._gaq || []; | |
| // set the account here. UA-37497376-1 is the one tied to gianni.ferullo@mtvn.com. | |
| _gaq.push(['_setAccount', 'UA-37497376-1']); | |
| // callback for 'performance' event. | |
| function onPerformanceResults(event){ | |
| // see https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingTiming | |
| // event.data is the performance results, loop through them: |
NewerOlder