diff --git a/IPython/core/display.py b/IPython/core/display.py index d8bdbfa..424414a 100644 --- a/IPython/core/display.py +++ b/IPython/core/display.py @@ -1329,7 +1329,7 @@ class Image(DisplayObject): class Video(DisplayObject): def __init__(self, data=None, url=None, filename=None, embed=False, - mimetype=None, width=None, height=None): + mimetype=None, width=None, height=None, html_attributes="controls"): """Create a video object given raw data or an URL. When this object is returned by an input cell or passed to the @@ -1367,14 +1367,22 @@ class Video(DisplayObject): height : int Height in pixels to which to constrain the video in html. If not supplied, defaults to the height of the video. + html_attributes : str + Attributes for the HTML `