Commit 351c0047 authored by Anssi Piirainen's avatar Anssi Piirainen

Make ‘analytics.pageTracker” the default value of ‘trackingObj’ property in Analytics’ plugin conf.

parent fe411aeb
......@@ -4,13 +4,14 @@ Version history:
------
- #75 set the child display list different when a gradient is set.
- The clip property 'bufferLength' now accepts decimal values, for example bufferLength: 0.2
- #121 only load plugins and external config from the same domain as the player swf from loaded from
- #121 XSS fix: Only load plugins and external config from the same domain as the player swf is loaded from
- Made it possible to tab out of the player and into the HTML page using the keyboard alone.
- Change links in the context menu and in the logos to point to http://flash.flowplayer.org
- Pausing a live stream now leaves the video frame visible #81
- Audio plugin is not loaded nor used when the the provider is set excplicitly in the clip to a non-audio value, for
example to 'http'
- Allow playing another instream clip while already playing one. Issue #131
- Fixed memory leaks related to repeatedly starting playback with the play() API method. #163
3.2.16
------
......
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!--<script type="text/javascript" src="flowplayer-3.0.5.min.js"></script>-->
<script src="../flowplayer-3.2.6.min.js"></script>
<script src="../src/javascript/flowplayer.js/flowplayer-3.2.11.min.js"></script>
<script src='http://www.google-analytics.com/ga.js'></script>
<!-- page title -->
......@@ -16,7 +17,11 @@
id="player">
</a>
<script>
flowplayer("player", "../build/flowplayer.swf",
// for testing Bridge mode
window.pageTracker = _gat._getTracker("UA-5877901-1");
flowplayer("player", "../../../flash-build/build/flowplayer-3.2.17-dev.swf",
{
log: { level: 'debug', filter: 'org.flowplayer.analytics.*' },
onStart: function() {
......@@ -36,18 +41,20 @@
},
playlist: [
"../build/honda_accord.flv",
"http://stream.flowplayer.org/flowplayer-700.flv",
"../build/play.png"
],
plugins:
{
analytics: {
url: 'flowplayer.analytics.swf',
clipTypes: [ "image" ]
url: 'flowplayer.analytics-3.2.9-dev.swf',
mode: 'Bridge'
}
}
});
</script>
</div>
......
......@@ -2,8 +2,8 @@ Version history:
3.2.9
-----
- Refactored to changes in the google analytics library for Bridge mode support. Debug view support is removed but with the option of a build build. Reinstating the trackingObj config
to configure the bridge mode.
- Reinstating the trackingObj config to configure the bridge mode. Default value is "window.pageTracker".
- Debug view support was removed.
3.2.8
-----
......
......@@ -15,7 +15,7 @@ package org.flowplayer.analytics {
private var _debug:Boolean = false;
private var _mode:String = "AS3";
private var _accountId:String; // required
private var _trackingObj:String;
private var _trackingObj:String = "window.pageTracker";
private var _events:Events = new Events();
// possible values are "video", "audio", "image"
......
......@@ -172,6 +172,8 @@ package org.flowplayer.analytics {
_log.debug("Tracking " + eventName + "[" + (clip.completeUrl + (clip.isInStream ? ": instream" : "")) + "] : " + time + " on page " + category);
if (_tracker.isReady()) {
_tracker.trackEvent(category, eventName, clip.completeUrl + (clip.isInStream ? ": instream" : ""), time);
} else {
_log.debug("tracker not ready");
}
} catch (e:Error) {
_log.error("Got error while tracking event " + eventName);
......
Version history:
3.2.14
------
- Added helper methods to hide / show the dock when autohide is enabled or not, issue #60
3.2.13
------
- #7 add start event filter for clips with bitrateitems as well as bitrateselect resolver checks.
......
......@@ -2,7 +2,7 @@ sVersion history:
3.2.14
------
- Added helper methods to hide / show the dock when autohide is enabled or not, issue #60
- Added helper methods hide() and show(). Can be used to show the viralvideos form when the dock is not used (or is hidden).
- Sharing is now enabled in virally shared players. #110
3.2.12
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment