- Đã giải quyết
- Đã lưu trữ
On page https://support.mozilla.org/en-US/kb/html5-audio-and-video-firefox?redirectslug=viewing-html5-audio-and-video&redirectlocale=en-US I find "AAC and H.264/MPEG-… (xem thêm)
I find "AAC and H.264/MPEG-4 AVC are patented audio/video compression formats. They can be viewed in Firefox using built-in OS libraries (so neither Mozilla nor you need to pay a fee) if embedded in the MP4 container format (.mp4, .m4a, .m4p, .m4b, .m4r, .m4v file types)."
But when I create an HTML page with the following HTML5 code:
<!DOCTYPE html> <html> <body> </body> This is a test of video. <video src="C:/MyVideoFile.mp4" controls> </video> </html>
I get the error "No video with supported format and MIME type found". Does Firefox in fact support .mp4 video? If so, what changes do I need to make in the HTML?