YouTube IFrame API on Internet Explorer and Firefox
问题 More of an "answer" than a "question", but not having found this elsewhere I'm posting it here. I was having difficulty initializing the iFrame API in all versions of IE and Firefox, with a somewhat custom implementation. Basically, it would load the API, but wouldn't create the player object. After a bit of trial and error, I finally figured out it wasn't working because the div ID I was passing to the object had its CSS visibility set to 'none' . Once it was set to 'visible' the whole thing