title: Trying to display youtube video in jupyter notebook
body: <p>I'm trying to display youtube video in jupyter notebook. But when i place the code in a condition, it doesn't show. But if i remove the if condition it works.</p>
  
  <pre><code>from IPython.display import HTML
  a = input()
  if a=="a":
    HTML('&lt;iframe src="https://www.youtube.com/embed/S_f2qV2_U00?rel=0&amp;amp;controls=0&amp;amp;showinfo=0" width="560" height="315" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;')
  else:
    print('erro')
  </code></pre>
  
  <p>the code above will not show the box of the video. but if i remove the if condition like in
  this one,</p>
  
  <pre><code>from IPython.display import HTML
  a = input()
  HTML('&lt;iframe src="https://www.youtube.com/embed/S_f2qV2_U00?    rel=0&amp;amp;controls=0&amp;amp;showinfo=0" width="560" height="315"  frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;')
  </code></pre>
  
  <p>it will work just fine.</p>