The answer really depends on which video you mean, because the 3DS was never designed as a general-purpose media player.
Nintendo delivered video content through the built-in Nintendo Video app, which downloaded short clips and cartoons over SpotPass. A YouTube app also existed for the 3DS family for a period, and availability of streaming apps varied by region and by system software version.
The system's photo viewer accepts images rather than arbitrary video files, so playing a personal MP4 usually requires converting it first or using unofficial software — something that carries stability and warranty risks.
If you tell me the exact video and your system software version, the answer becomes much more specific.