Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

mime type html5 video

  • 25 απαντήσεις
  • 40 έχουν αυτό το πρόβλημα
  • 1 προβολή
  • Τελευταία απάντηση από jscher2000 - Support Volunteer

more options

Hello,

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?

Thanks!

Gerard

Hello, 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: <pre><nowiki> <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> </nowiki></pre> GoDaddy has suggested creating an htaccess file that contains the following code: <pre><nowiki> AddType video/mp4 .mp4 .m4v AddType video/ogg .ogv AddType video/webm .webm </nowiki></pre> 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? Thanks! Gerard

Τροποποιήθηκε στις από τον/την GerardTonti

Επιλεγμένη λύση

Hi Gerard, hosts that provide correct content types for their media work perfectly fine. But I can't move mountains at GoDaddy, sorry.

Ανάγνωση απάντησης σε πλαίσιο 👍 1

Όλες οι απαντήσεις (5)

more options

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.

Τροποποιήθηκε στις από τον/την jscher2000 - Support Volunteer

more options

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.

  • http://www.imillard.com/h5vid/craft.mp4
more options

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.

more options

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).

more options

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!

  1. 1
  2. 2