HEIF is a set of new image and video formats that are common on mobile phones but still not supported by default on most operating systems.
To get support for .heic on Fedora 35 you need to have the RPMFusion repository enabled, then run:
sudo dnf install -y libheif
If you’re using KDE then you’ll also need this:
sudo dnf install -y qt-heif-image-plugin
Not sure if you get the video formats along with these, I don’t have any videos in this format to test. If it works or if you know how to add the video formats please leave a comment telling me what’s needed and I’ll update the post.