How to embed an autoplaying YouTube video in an iframe?
This works in Chrome but not Firefox 3.6 (warning: RickRoll video): The JavaScript API for iframe embeds exists, but is still posted as an experimental feature. UPDATE: The iframe API is now fully supported and “Creating YT.Player objects – Example 2” shows how to set “autoplay” in JavaScript.