The Vodka God (allah_sulu) wrote in as_massive_tool,
The Vodka God
allah_sulu
as_massive_tool

YouTube Embedding

Something happened to YouTube yesterday, and the embedding code is no longer working (whether you use the new <iframe> code or the old <object> code)…

<iframe width="640" height="360" src="//www.youtube.com/embed/k3RRNKM19TE?rel=0" frameborder="0" allowfullscreen></iframe>

<object width="640" height="360"><param name="movie" value="//www.youtube.com/v/k3RRNKM19TE?version=3&amp;hl=en_US&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="//www.youtube.com/v/k3RRNKM19TE?version=3&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="640" height="360" allowscriptaccess="always" allowfullscreen="true"></embed></object>

The way to fix it (until Google corrects their code)? Just put http: back at the beginning of the URLs where it belongs.

Tags: html/css, urls, videos
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 18 comments