I recently installed Ubuntu in a VM on Windows 10 and have the problem that videos just don't want to play. Youtube and other websites don't work. Not even downloading the videos and playing them with the default player doesn't work. Installing VLC fixed the problem with downloaded videos but videos in Firefox / Chrome still don't work. I have another Ubuntu VM (which I currently can't access because it's encrypted) where everything seems to work just fine. There's no error or anything popping up when I try to watch a video just the first frame in a static picture.
Things I tried that didn't fix the problem:
Using the command
sudo apt-get install ubuntu-restricted-extrasto install codecs
Rebooting after that
Updating all software
And again rebooting
The only solution I can find is to install the restricted extras which doesn't fix the problem for me. Thanks in advance!