I am using Fedora and the problem is the codec, you need to download libffmpeg.so and replace the file with the same name in the Opera path

https://www.reddit.com/r/Fedora/comments/pko325/fedora_34_and_udemy_cant_watch_videos_anymore/