def _iframe(src, width=650, height=365, content=None, link=None):
 html = ('<iframe width="%s" height="%s" src="%s" frameborder="0" allowfullscreen></iframe>' % (width, height, src))
 if (not content):
  return html
 if link:
  content = ('<a href="%s">%s</a>' % (link, content))
 return ('<figure>%s<figcaption>%s</figcaption></figure>' % (html, content))

def _iframe ( src , width = 650 , height = 365 , content = None , link = None ) : html = ( '<iframe width="%s" height="%s" src="%s" frameborder="0" allowfullscreen></iframe>' % ( width , height , src ) ) if ( not content ) : return html if link : content = ( '<a href="%s">%s</a>' % ( link , content ) ) return ( '<figure>%s<figcaption>%s</figcaption></figure>' % ( html , content ) )
create an iframe html snippet .