Another solution for embedding the HTML is object instead of the iframe solution.



There are two styles of embed codes that are available for YouTube videos. The new embed code begins with '<iframe...' and supports both Flash and HTML5 video. The older style of embed code begins with '<object...' and only support Flash playback.



Some services only support the older '<object...' embeds. If you do encounter a site that rejects your '<iframe...' embed code, the recommended course of action is that you use the older '<object...' code for the time being.



To generate an '<object...' embed code, you can take the following steps:




  1. Click on the Embed button under the video.

  2. Select the Use old embed code checkbox.

  3. Once you’ve selected this checkbox, copy the code in the Embed field.

  4. Paste the embed code into the the third-party site.



If you have cookies enabled in your browser, you will only have to check the Use old embed code option once, and it will be remembered for future embed codes you generate.