I'm testing out your new module, and having some success recording statements of things like node views. Very Cool!

Since I'm able to see the node view statements in my LRS, next thing I tried was the vimeo integration.

I installed the appropriate libraries, I see that both froogaloop and tincanapi_vimeo.js load in the

I created a file field, enabled it to use the vimeo schema, created a test node, adding a video, and upon viewing the node, the video plays.

I added a console.log() call in the trackEvent method in the tincanapi_vimeo.js, but I never see its output in Firebug.

Is there further configuration required to enable Vimeo play/pause/finished event tracking with the Tincan API Vimeo module?

Comments

markusa’s picture

well I figured it out I had to change your regexp and ajax call url to https from http

var regExp = /https:\/\/(www\.)?vimeo.com\/(\d+)($|\/)/;

url: 'https://vimeo.com/api/v2/video/' + video_id + '.json',

maybe because the site I am using has https ...

Wow this module generates ALOT of statements....it seems to cycle from sending "play", "paused", "watched"
"skipped" many times, generating hundreds of statements in 30 seconds....

nve’s picture

First part of data on https/http will have to be checked upon. So please wait till the 7.x-1.0-alpha2 release and test again.
The second issue about the multitude of statements, that is definitely solved in 7.x-1.0-alpha2. We had the issue in our own production environment. The fix will be release this weekend (hopefully).