Wowza Community

Streaming MP4 to HTML5

I need to be able to watch MP4 file from HTML5 (not IOS, or Saffari). I tried JWPlayer and also plain HTML5 but keep getting error:

“Video format or MIME type is not supported”.

here is the code I tried:

<!DOCTYPE html>
<html>
  <head>
    <script type="text/javascript" src="jw-player/jwplayer.js"></script>
    <!-- The common stylesheet -->
    <link rel="stylesheet" href="media/style.css" type="text/css" media="screen" />
  </head>
  <body>
	<video controls src="http://<WOWZA_IP>:1935/vod/mp4:test.mp4/manifest.mpd">
	</video>
  </body>
</html>

In one of your previous posts from 2011 you mentioned that Wowza does not support html5


computersrmyfriends:

Does wowza plan to support html5 for browsers in the future?

If so,is there a beta version available which I can try?

Thanks

Wowza Support:

There is no short-term plan to support html video tag in other browsers.


So is there any way to stream a file to HTML5?

Thank you

Please review this guide:

How to play video using the HTML5 video tag

It contains the most recent information in regards to streaming with HTML5.

Regards,

Salvadore

Hi,

You’ll find that HLS is not supported in those browsers.

The only browser where your HTML5 playback will work is in the Safari browser on MAC and iOS devices.

The other browsers don’t have full support for adaptive streaming in HTML5.

Here is a useful HTML5 reference:

State of HTML5 Report

Daren

Please review this guide:

How to play video using the HTML5 video tag

It contains the most recent information in regards to streaming with HTML5.

Regards,

Salvadore

I changed the line to

<video controls src="http://127.0.0.1:1935/vod/mp4:test.mp4/playlist.m3u8">

I also tried

<video controls src="http://127.0.0.1:1935/vod/test.mp4/playlist.m3u8">

but in Firefox keep getting error: Video format or MIME type is not supported.

In Chrome it just does not play, no error is shown.

In IE it says “Invalid Source”

I need to mention that I use H.264 and AAC codecs

Your link sadly isn’t working, bhushanchander.

This code is very helpful in regards to video streaming with HTML5

Thanks