You can troubleshoot the video heartbeat library integration by using the extensive tracing/logging mechanism that is in place throughout the entire video-tracking stack. Both the video heartbeat library and the underlying data-collection code inside the AppMeasurement library are equipped with this tracing/logging infrastructure.
// Activate tracing/logging. configData.debugLogging = true; // Apply the configuration. videoHeartbeat.config(configData);
ADBMobile Debug: [2014-02-14 at 15:34:43][ADBHeartbeatTimerManager] #_onTick() > ------------------- ( 2 )
One of the configuration options exposed by the AppMeasurement public API is a boolean flag called debugTracking. This flag causes the video heartbeat code to display (on the console) the actual URL that represents the outbound network call. The result is a very nice view of all the network calls issued by the Heartbeat core engine. Below is a code snippet that demonstrates the activation of the debugTracking configuration flag:
/// Log the output network calls. configData.debugTracking = true; // Apply the configuration. videoHeartbeat.config(configData);