window.IframeChild = class IframeChild extends Player constructor: (data) -> if not (this instanceof IframeChild) return new IframeChild(data) @load(data) load: (data) -> @setMediaProperties(data) @ready = false waitUntilDefined(window, 'playerjs', => iframe = $('