Wait, you're setting `window.YT.Player`, and then you're spying on it? Why? If you need a spy, why not set one when you create the `window.YT` object? Why do you even need to create the `window.YT` object at all?