Yes, both file types can be embedded in web pages using HTML5 video tags. However, MP4 is preferred due to its broader compatibility across different browsers.