Are you receiving an error that you are missing a codec when trying to play h.264 videos on Arch Linux?

This means you are missing the required package with the correct codec.

You can install it with the following command.

pacman -S gst-libav

After intsalling the codec you should be able to play the videos using the Videos application.