Show More
@@ -323,7 +323,8 b' class YouTubeVideo(IFrame):' | |||
|
323 | 323 | self.id=id |
|
324 | 324 | src = "https://www.youtube.com/embed/{0}".format(id) |
|
325 | 325 | if allow_autoplay: |
|
326 |
kwargs. |
|
|
326 | extras = list(kwargs.get("extras", [])) + ['allow="autoplay"'] | |
|
327 | kwargs.update(autoplay=1, extras=extras) | |
|
327 | 328 | super(YouTubeVideo, self).__init__(src, width, height, **kwargs) |
|
328 | 329 | |
|
329 | 330 | def _repr_jpeg_(self): |
General Comments 0
You need to be logged in to leave comments.
Login now