Is there a way to display or download youtube videos in Mathematica.

Youtube is HTML5 enabled so I am hopeful there might be an easy way.


1 Answer 1


There is nice general writeup made by @b3m2a1:

The "display" part of the question is very easy. In the Cloud version of notebooks which can be accessed here:


You can use EmbeddedHTML to embed a video right into a Cloud notebook:

EmbeddedHTML[ "<iframe width='854' height='510' src='//www.youtube.com/embed/60P7717-XOQ' frameborder='0' allowfullscreen></iframe>"]

which will look like:

enter image description here

also take a look at:

  • $\begingroup$ Please could you check your last link. It goes nowhere for me. Thanks $\endgroup$
    – Hugh
    Commented Oct 1, 2018 at 18:05
  • $\begingroup$ @Hugh it is a bug we should fix soon. But I added 1 more link Playing with YouTube from Mathematica for you - I hope it is helpful. $\endgroup$ Commented Oct 1, 2018 at 18:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.