If I suddenly lose my Internet connection, all of the Youtube videos that were pre-loaded by my browser (Chrome or Firefox) can still be watched and watched again, since they are saved somewhere in the memory of my PC.
Where does my browser save such videos? In what format?
I am interested in both Windows and Ubuntu-similar operative systems.