I would like to loop this video from YouTube, it's OK if it reloads every time although it would be nicer (and perhaps illegal ) to cache the video.
are there any suggestions on software that can do this?
You could create an HTML document and then just open it when you want this. Open your favorite editor and paste these contents into it. Save it anywhere, and then double-click the saved file to open in a Web browser.
Or just paste this in a browser and make a bookmark.
Do you need it to actually be in the browser while it's playing?
If not, one thing you can do is:
WARNING: paste the Youtube URL for the video you need, don't use this example.
you can play any youtube video with vlc.
if you go into vlc preferences, all preferences, and then playlist, tick the box
then it will loop any video you play.
after you do that go to the terminal, and play your specific video:
it will keep looping. :)