title: Embedded Youtube video in a Ruby on Rails page
body: <p>New to programming.  I am trying to embed a YouTube video from a link stored in a database named "Promoter" into a ruby-on-rails page (.erb).  I've looked at the source the code turns out, but the object video player does not appear (on heroku here: <a href="http://blazing-mountain-574.heroku.com/" rel="nofollow">http://blazing-mountain-574.heroku.com/</a>).</p>
  
  <p>The code in the home.html.erb file:</p>
  
  <pre><code> &lt;h1&gt;Pages#home&lt;/h1&gt;
  &lt;p&gt;Find me in app/views/pages/home.html.erb&lt;/p&gt;
  &lt;object width="640" height="385"&gt;
  &lt;param name="movie" value="&lt;%= sanitize Promoter.first.link %&gt;"&gt;
  &lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param
  &gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;
  &lt;embed src="&lt;%= sanitize Promoter.first.link %&gt;" 
  type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"    width="640" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;
  </code></pre>
  
  <p>Is there something real simple that I'm missing?</p>