Created
June 19, 2014 14:06
-
-
Save codecandies/dccf2f8b3793c1723161 to your computer and use it in GitHub Desktop.
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
/* the ZEIT namespace */ | |
var ZEIT = function() { | |
return { | |
BrightcovePlayerPlugin : { | |
pluginInitialised : function (argument) { | |
if ( ZEIT.getQueryVar( "debug" ) == "true" ) { | |
console.info("[brightcove - ZEITPixel Plugin] plugin initialised"); | |
} | |
}, | |
playerLoaded : function(videoInfo) { | |
if ( ZEIT.getQueryVar( "debug" ) == "true" ) { | |
console.info("[brightcove - ZEITPixel Plugin] player loaded\n ->", videoInfo); | |
} | |
}, | |
videoStarted : function(videoInfo) { | |
if ( ZEIT.getQueryVar( "debug" ) == "true" ) { | |
console.info("[brightcove - ZEITPixel Plugin] video started\n ->", videoInfo); | |
} | |
// window.wt.sendinfo({linkId: 'redaktion.video...video../'+videoId+'/'+videoName+'/START'}); | |
}, | |
videoCompleted : function(videoInfo) { | |
if ( ZEIT.getQueryVar( "debug" ) == "true" ) { | |
console.info("[brightcove - ZEITPixel Plugin] video completed\n ->", videoInfo); | |
} | |
// window.wt.sendinfo({linkId: 'redaktion.video...video../'+videoId+'/'+videoName+'/COMPLETE'}); | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment