You cannot play a video unless you have the codec. If you cannot install a codec, then you need to use a video player which supports that codec file. Most of the video files are supported by the default media player, but if you cannot play a video, then you can try using VLC Media Player.