<reponame>vhn0912/python-snippets
import IPython.display

IPython.display.YouTubeVideo('6XvmhE1J9PY')
# <IPython.lib.display.YouTubeVideo at 0x104f00630>

IPython.display.YouTubeVideo('6XvmhE1J9PY', width=480, height=270)
# <IPython.lib.display.YouTubeVideo at 0x104fd4630>

IPython.display.YouTubeVideo('6XvmhE1J9PY', start=30)
# <IPython.lib.display.YouTubeVideo at 0x104f00470>

IPython.display.VimeoVideo('289502328')
# <IPython.lib.display.VimeoVideo at 0x104f00588>

import IPython.display

IPython.display.YouTubeVideo('6XvmhE1J9PY')
# <IPython.lib.display.YouTubeVideo at 0x104f00630>

IPython.display.YouTubeVideo('6XvmhE1J9PY', width=480, height=270)
# <IPython.lib.display.YouTubeVideo at 0x104fd4630>

IPython.display.YouTubeVideo('6XvmhE1J9PY', start=30)
# <IPython.lib.display.YouTubeVideo at 0x104f00470>

IPython.display.VimeoVideo('289502328')
# <IPython.lib.display.VimeoVideo at 0x104f00588>
# <IPython.lib.display.YouTubeVideo at 0x104f00630> # <IPython.lib.display.YouTubeVideo at 0x104fd4630> # <IPython.lib.display.YouTubeVideo at 0x104f00470> # <IPython.lib.display.VimeoVideo at 0x104f00588>