Archive for the ‘javascript/jquery’ Category

Overriding drawLineText method of CreateJS

Friday, November 20th, 2020

I needed to superscript some specific characters in a dynamic text field in CreateJS , so I built a prototype function to do just that.


Add Google Analytics to multiple Vimeo videos

Friday, May 2nd, 2014

I was working on a page earlier this week that had a number of Vimeo videos embedded within a scroller. Each video needed to have a unique identifier submitted with the analytics event tracking. The event was to be submitted only when any video started being played. Here is the small chunk of code I used for this. Don’t forget to include the Froogaloop library to access the vimeo player’s events.