I ran into a strange issue, and I don\'t know what the problem is. The following jQuery code is a simplified version of what I want to achieve:
var iframe =
Appending &output=embed to the end of the URL fixes the problem.
&output=embed
Update: Google disabled this feature, which was working at the time the answer was originally posted. This solution no longer works.