title: How to embed YouTube video using object tag?
body: <p>I am trying to include YouTube video by <code>object</code> tag in HTML:</p>
  
  <pre><code>&lt;object width="500" height="500" data="https://www.youtube.com/watch?v=aqsL0QQaSP4"&gt;&lt;/object&gt;
  </code></pre>
  
  <p>Currently, the video doesn't display. I searched on W3Schools, they have similar code with a different URL and it works:</p>
  
  <pre><code>&lt;object width="420" height="315"
  data="https://www.youtube.com/v/XGSy3_Czz8k"&gt;
  &lt;/object&gt; 
  </code></pre>
  
  <p>What kind of URL can I use for the <code>object</code> <code>data</code> attribute?</p>