Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Error: Unsupported video type or invalid file path when trying to play mp4

$
0
0

Hi.

I have this code:

<!DOCTYPE HTML>
...

  <video width="640" height="480" autoplay preload controls>
    <source src="slideshow/demo.mp4" type="video/mp4" />
    <source src="slideshow/demo.webm" type="video/webm" />
    <source src="slideshow/demo.ogv" type="video/ogg" />
    You are using an older version of a browser which cannot play this video. <br>
    Please upgrade to the most current version of your browser.</font>
  </video></p>

The video plays fine in Firefox and Chrome, but not IE, although if I run the html page on my local machine it works fine. I had the web hoster add the mime type (extension .mp4, type video/mp4) (The web server is still running IIS 6!) but I still get the error. They say it has to be a coding problem. I am running IE 10, have the issue both with Windows 7 and Windows 8.

Any assistance would be appreciated.

Thank you.


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>