googlecast/CastMedia-chrome — pull request #4 by cyberplant (2014-07-03 06:56:03+00:00)
Title: Initialize media variable after Cast init.

I've found in my Chrome that chrome.cast is not available from the start, so this fix delays the initialization of the 'media' variable that needs components from chrome.cast until it's available. Related to issue #3.