Use:
```coffee
Player: function () {
    var Player = jasmine.createSpyObj('YT.Player', ['cueVideoById', 'getVideoEmbedCode','getDuration',
    'getCurrentTime', 'getPlayerState', 'getVolume', 'setVolume', 'loadVideoById', 'getAvailablePlaybackRates',
    'playVideo', 'pauseVideo', 'seekTo', 'getDuration', 'getAvailablePlaybackRates', 'setPlaybackRate', 'getPlaybackQuality']);
    Player.getDuration.andReturn(60);
    Player.getAvailablePlaybackRates.andReturn(['0.50', '1.0', '1.50', '2.0']);
    return Player;
}(), ...
```