{
"metadata": {
"name": "",
"signature": "sha256:59e9e31907287ec5550fe3224e1f5de0b46cf3210afbc48295757e42ca7c778b"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# View an video in iPython\n",
"\n",
"- **Author:** [Chris Albon](http://www.chrisalbon.com/), [@ChrisAlbon](https://twitter.com/chrisalbon)\n",
"- **Date:** -\n",
"- **Repo:** [Python 3 code snippets for data science](https://github.com/chrisalbon/code_py)\n",
"- **Note:**"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Display an image"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# load the youtube module\n",
"from IPython.display import YouTubeVideo"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 3
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# Display this particular youtube video\n",
"YouTubeVideo('8inUHTdK6Rg')"
],
"language": "python",
"metadata": {},
"outputs": [
{
"html": [
"\n",
" \n",
" "
],
"metadata": {},
"output_type": "pyout",
"prompt_number": 4,
"text": [
""
]
}
],
"prompt_number": 4
}
],
"metadata": {}
}
]
}