##// END OF EJS Templates
- Changed the YouTubeVideo jpeg picture to high quality
Ben Kasel -
Show More
@@ -264,7 +264,7 b' class YouTubeVideo(IFrame):'
264
264
265 def _repr_jpeg_(self):
265 def _repr_jpeg_(self):
266 from urllib import urlopen
266 from urllib import urlopen
267 return urlopen("https://img.youtube.com/vi/{id}/default.jpg".format(id=self.id)).read()
267 return urlopen("https://img.youtube.com/vi/{id}/hqdefault.jpg".format(id=self.id)).read()
268
268
269 class VimeoVideo(IFrame):
269 class VimeoVideo(IFrame):
270 """
270 """
General Comments 0
You need to be logged in to leave comments. Login now