old_contents: (function(module) {
  	"use strict";
  
  	var Youtube = {},
  		embed = '<iframe class="youtube-plugin" width="640" height="360" src="//www.youtube.com/embed/$1?wmode=opaque" frameborder="0" allowfullscreen></iframe>';
  
  	Youtube.parse = function(postContent, callback) {
  		// modified from http://stackoverflow.com/questions/7168987/
  		var	regularUrl = /<a href="(?:https?:\/\/)?(?:www\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=)?(.+)">.+<\/a>/g,
  			embedUrl = /<a href="(?:https?:\/\/)?(?:www\.)youtube.com\/embed\/([\w\-_]+)">.+<\/a>/;
  
  		if (postContent.match(embedUrl)) {
  			postContent = postContent.replace(embedUrl, embed);
  		} else if (postContent.match(regularUrl)) {
  			postContent = postContent.replace(regularUrl, embed);
  		}
  
  		callback(null, postContent);
  	};
  
  	module.exports = Youtube;
  }(module));
  
new_contents: (function(module) {
  	"use strict";
  
  	var Youtube = {},
  		embed = '<iframe class="youtube-plugin" width="640" height="360" src="//www.youtube.com/embed/$1?wmode=opaque" frameborder="0" allowfullscreen></iframe>';
  
  	Youtube.parse = function(postContent, callback) {
  		// modified from http://stackoverflow.com/questions/7168987/
  		var	regularUrl = /<a href="(?:https?:\/\/)?(?:www\.)?(?:youtube\.com)\/(?:watch\?v=)(.+)">.+<\/a>/g;
  		var	shortUrl = /<a href="(?:https?:\/\/)?(?:www\.)?(?:youtu\.be)\/(.+)">.+<\/a>/g;
  		var	embedUrl = /<a href="(?:https?:\/\/)?(?:www\.)youtube.com\/embed\/([\w\-_]+)">.+<\/a>/;
  
  		if (postContent.match(embedUrl)) {
  			postContent = postContent.replace(embedUrl, embed);
  		}
  		if (postContent.match(regularUrl)) {
  			postContent = postContent.replace(regularUrl, embed);
  		}
  		if (postContent.match(shortUrl)) {
  			postContent = postContent.replace(shortUrl, embed);
  		}
  
  		callback(null, postContent);
  	};
  
  	module.exports = Youtube;
  }(module));
  
subject: Fix plugin converting user links to videos