Created
September 4, 2012 17:31
-
-
Save minrk/3623872 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "YouTubeVideo" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"from IPython.display import YouTubeVideo\n", | |
"YouTubeVideo('oHg5SJYRHA0')" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"html": [ | |
"\n", | |
" <iframe\n", | |
" width=\"400\"\n", | |
" height=\"300\"\n", | |
" src=\"http://www.youtube.com/embed/oHg5SJYRHA0\"\n", | |
" frameborder=\"0\"\n", | |
" allowfullscreen\n", | |
" ></iframe>\n", | |
" " | |
], | |
"output_type": "pyout", | |
"prompt_number": 2, | |
"text": [ | |
"<IPython.lib.display.YouTubeVideo at 0x104026350>" | |
] | |
} | |
], | |
"prompt_number": 2 | |
} | |
], | |
"metadata": {} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment