ie11 html5播放器卡,html - IE11 HTML5 Video Error - Stack Overflow

益承颜
2023-12-01

I've had a look but I can't see a answer for this one.

I'm using the HTML5 video tag on my website which is currently on XAMPP/ Appache. In Firefox it works perfectly but in Chrome it only plays the audio from the video and not the video itself and in IE11 it comes up with the error "Unsupported video type or invalid file path".

I've checked in the developer tools and the browsers appear to be reading the file extension correctly.

I've updated my httpd.conf file with the following...

AddType video/ogg .ogv

AddType video/mp4 .mp4

AddType video/webm .webm

...so it shouldn't be a MIME type issue.

And I've added several file type options as follows:

Sorry! Your web browser does not support HTML5

Which I believe should deal with any incompatibility issues. I even tried converting the files a second time to make sure there was nothing wrong with them... I'm now at a loss.

Anyone out there have any suggestions?

 类似资料: