title: How to add youtube frame to ERB file
body: <p>I have url of video in post.url</p>
  
  <p>How can I add youtube frame?</p>
  
  <p>I used this</p>
  
  <pre><code>&lt;% @posts.each do |post| %&gt;
  
  &lt;iframe width="560" height="315" src= &lt;%= \" post.url \"%&gt;  
  
      frameborder="0" allowfullscreen&gt;
  
  &lt;/iframe&gt; 
  
  &lt;% end %&gt;
  </code></pre>
  
  <p>And get this error</p>
  
  <blockquote>
    <p>syntax error, unexpected $undefined ...reeze;<br>
    @output_buffer.append=( \" post.url \");<br></p>
  </blockquote>
  
  <p>Also I Used </p>
  
  <pre><code> src= &lt;%= post.url %&gt;  
  </code></pre>
  
  <p>And I didn't see anything</p>