mime type html5 video
I've been having a problem with HTML5 video playing in firefox when hosted on GoDaddy. I'm almost positive that this is a server side issue but GoDaddy doesn't have the technical support to give me any more solutions than what they have repeatedly suggested. Here is the link to the index page I am having problems with:
http://gerardtonti.com/CV/index.html There is a video that plays above my name. You can see this in other browsers. The HTML for the video is this:
<video width="220px" height="227px" autoplay> <source type="video/mp4" src="http://www.gerardtonti.com/CV/img/Sneeze.mp4"> <source type="video/ogv" src="http://www.gerardtonti.com/CV/img/Sneeze.ogv"> <source type="video/webm" src="http://www.gerardtonti.com/CV/img/Sneeze.webm"> </video>
GoDaddy has suggested creating an htaccess file that contains the following code:
AddType video/mp4 .mp4 .m4v AddType video/ogg .ogv AddType video/webm .webm
I have uploaded the htaccess file with this code and nothing happened. I've placed the file in the root and in the folder that contains the videos. Still nothing. I have had this problem with another client who hosts on GoDaddy as well. Is there a solution to this problem?
Được chỉnh sửa bởi GerardTonti vào
Giải pháp được chọn
Hi Gerard, hosts that provide correct content types for their media work perfectly fine. But I can't move mountains at GoDaddy, sorry.Đọc câu trả lời này trong ngữ cảnh 1
Chi tiết hệ thống bổ sung
Phần bổ trợ đã cài đặt
- Version 184.108.40.20662
- Google Talk Plugin Video Accelerator version:0.1.44.29
- Shockwave Flash 11.8 r800
- A plugin to detect whether the Adobe Creative Cloud is installed on this machine.v_2_0_0_0
- Displays Java applet content, or a placeholder if Java is not installed.
- Microsoft Office for Mac SharePoint Browser Plug-in
- Adobe® Acrobat® Plug-in for Web Browsers, Version 10.1.7
- The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site.
- WebEx64 General Plugin Container Version 203
- Plugin that detects installed Citrix Online products (visit www.citrixonline.com).
- Simple plug-in that handles Citrix connection files
- Microsoft Lync 2010 Meeting Join Plug-in
- AmazonMP3DownloaderPlugin 1.0.16
- Chuỗi đại diện người dùng: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Firefox/24.0
Thông tin chi tiết
Hi Ian Millard, unlike proprietary browsers, Firefox does not include the patented technology to decode MPEG media. Instead, components on the system are used.
On Windows, XP is a special case. Windows Vista and later ship with Media Foundation. Microsoft does not ship Media Foundation for Windows XP, so recent versions of Firefox use DirectShow to play MPEG encoded media on Windows XP.
If you are concerned that visitors to your site will not be able to play MPEG encoded media, either because they do not have the necessary system software or because they have disabled Firefox's ability to do it (users who want to more easily download MP3s sometimes disable Firefox's built-in player), then you can provide a fallback. Either you can transcode the media to an open format, or you can add object tags and let a plugin such as QuickTime or Windows Media Player handle the MP4.
Được chỉnh sửa bởi jscher2000 vào
On Windows XP the video should play if the media.directshow.enabled pref is true and there is native support to play this craft.mp4 file.
What is "native support?"
If Chrome doesn't need this support, why does FireFox?
The whole point is to use HTML5 to play videos with a minimum of fuss, using straightforward coding. It shouldn't be necessary to use a work-around to fix yet another FireFox omission.
I might as well keep using Flash Plugins.
Native support is to fallback to function that your Windows Operating System provides, so this only work if you have installed codecs to play such media files. I don't know if Google Chrome comes with built-in support for playing MP4 files (it probably does include this support).
Hi Ian Millard, I agree it's harder than we would like it to be, but with so much diversity among systems, I think it's a overly optimistic to expect that you can find a one-size-fits-all approach for streaming media. Maybe someday!