WordPress Shortcode for embedding multiple YouTube videos using the JavaScript API and including custom Google Analytics Events

Posted by on Mar 31, 2016 in Development, Javascript, PHP | No Comments

Well, that title is a mouthful, let me explain. Recently I had the need to create a shortcode to embed YouTube videos, no problem right? Well, lets introduce a few more variables. First we want to fire custom Google Analytics events on video play, pause and complete which is easy enough to work into the […]

Decoupling your HTML, CSS, and JavaScript

Posted by on Aug 19, 2013 in Development | No Comments

I just read this pretty good article on a good way of thinking about how to separate structure(HTML), style(CSS), and behavior (JavaScript) layers of your web projects. This is especially helpful on larger projects where multiple developers are modifying different pieces of code. It is a good framework to think about when trying to keep […]