<commit_before># VideoJS Akamai AnalyticsPlugin

Akamai Sola Analytics plugin for videojs

## Getting Started
Download [videojs](http://www.videojs.com/)

In your web page:

```html
<link rel="stylesheet" href="video-js.css">
<video id="video"
       class="video-js vjs-default-skin"
       src="movie.mp4"
       controls>
</video>
<script src="video.js"></script>
<script src="dist/videojs.akamai-analytics.min.js"></script>
<script>
// save a reference to the video element
  video = document.querySelector('video'),
  // save a reference to the video.js player for that element
  player = videojs(video);
  // initialize the plugin with some custom options:
  player.akamaiAnalytics({
    config: "http://ma399-r.analytics.edgesuite.net/config{{ your_beacon }}.xml?enableGenericAPI=1"
  });
</script>
```

## Documentation
* Setup your beacon xml with Akamai
* Enter your config xml within the config option on the plugin
* See the results by going Akamai's control panel -> Monitor - > Sola or Qos Monitor

## Examples
Check out example.html to see Akamai Analytics in action.

## Release History
#####12/30/2013
* Created plugin
* Created tests<commit_msg>polish<commit_after># VideoJS Akamai Analytics Plugin

Akamai Sola Analytics plugin for videojs

## Getting Started
Download [videojs](http://www.videojs.com/)

In your web page:

```html
<link rel="stylesheet" href="video-js.css">
<video id="video"
       class="video-js vjs-default-skin"
       src="movie.mp4"
       controls>
</video>
<script src="video.js"></script>
<script src="dist/videojs.akamai-analytics.min.js"></script>
<script>
// save a reference to the video element
  video = document.querySelector('video'),
  // save a reference to the video.js player for that element
  player = videojs(video);
  // initialize the plugin with some custom options:
  player.akamaiAnalytics({
    config: "http://ma399-r.analytics.edgesuite.net/config{{ your_beacon }}.xml?enableGenericAPI=1"
  });
</script>
```

## Documentation
* Setup your beacon xml with Akamai
* Enter your config xml within the config option on the plugin
* See the results by going Akamai's control panel -> Monitor - > Sola or Qos Monitor

## Examples
Check out example.html to see Akamai Analytics in action.  To see the results of the Analytics, you'll need to Akamai account.

## Release History
#####12/30/2013
* Created plugin
* Created tests
{'fraction_non_alphanumeric': 0.12348262871494349, 'fraction_numerical': 0.010883214734198409, 'mean_word_length': 4.195652173913044, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7068525', 'n_tokens_mistral': 759, 'n_tokens_neox': 723, 'n_words': 244}