Wikia/app — pull request #833 by lizlux (2013-05-17 22:54:58+00:00)
Title: fixing issue with second screen of VET after VideoHandlers refactor

This addresses an issue where json embed code wasn't being encoded before being sent to a VET template. In the past, only JWPlayer returned a json object instead of HTML. Since this particular code is only used for non-premium videos (i.e. youtube) it was always expecting a string. Since we're now always sending json I've removed the string check and just json encode all embed code.

Thanks @RodriGomez for catching this bug.

The VET.js changes were just cleanup because it bugged me that we were using "o" as a variable for response data.