def ipython_display(clip, filetype=None, maxduration=60, t=None, fps=None, rd_kwargs=None, center=True, **html_kwargs):
 if (not ipython_available):
  raise ImportError('Only works inside an IPython Notebook')
 if (rd_kwargs is None):
  rd_kwargs = {}
 if (fps is not None):
  rd_kwargs['fps'] = fps
 if (t is not None):
  clip = clip.to_ImageClip(t)
 return HTML2(html_embed(clip, filetype=filetype, maxduration=maxduration, center=center, rd_kwargs=rd_kwargs, **html_kwargs))

def ipython_display ( clip , filetype = None , maxduration = 60 , t = None , fps = None , rd_kwargs = None , center = True , ** html_kwargs ) : if ( not ipython_available ) : raise ImportError ( 'Only works inside an IPython Notebook' ) if ( rd_kwargs is None ) : rd_kwargs = { } if ( fps is not None ) : rd_kwargs [ 'fps' ] = fps if ( t is not None ) : clip = clip . to_ImageClip ( t ) return HTML2 ( html_embed ( clip , filetype = filetype , maxduration = maxduration , center = center , rd_kwargs = rd_kwargs , ** html_kwargs ) )
clip either the name of a file .