# Streaming MP4 to HTML5

**URL:** https://community.wowza.com/t/streaming-mp4-to-html5/38792
**Category:** Wowza Streaming Engine
**Created:** [September 12, 2015, 8:15pm UTC](https://community.wowza.com/t/streaming-mp4-to-html5/38792 "2015-09-12T20:15:38Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Sergei\_Gromov](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@Sergei\_Gromov](https://community.wowza.com/u/Sergei_Gromov)
#### Post date: [September 12, 2015, 8:15pm UTC](https://community.wowza.com/t/streaming-mp4-to-html5/38792/1 "2015-09-12T20:15:38Z")

</div>

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:

```auto
<!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

> [@Streaming to HTML5 from wowza](http://community.wowza.com/t/-/36184):
>
> Hello, Do you have any article explaining live streaming and vod to HTML5? How can I use a Live stream with html5? Thanks

* * *

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

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [September 13, 2015, 11:10am UTC](https://community.wowza.com/t/streaming-mp4-to-html5/38792/2 "2015-09-13T11:10:24Z")

</div>

Please review this guide:

[How to play video using the HTML5 video tag](https://www.wowza.com/docs/how-to-play-video-using-the-html5-video-tag)

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

Regards,

Salvadore

---

<div class="post-metadata">

### Author: ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)
#### Post date: [September 15, 2015, 10:13pm UTC](https://community.wowza.com/t/streaming-mp4-to-html5/38792/3 "2015-09-15T22:13:29Z")

</div>

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](http://www.jwplayer.com/html5/)

Daren

---

<div class="post-metadata">

### Author: ![Sergei\_Gromov](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@Sergei\_Gromov](https://community.wowza.com/u/Sergei_Gromov)
#### Post date: [September 13, 2015, 8:20pm UTC](https://community.wowza.com/t/streaming-mp4-to-html5/38792/4 "2015-09-13T20:20:17Z")

</div>

> Please review this guide:
> 
> [How to play video using the HTML5 video tag](https://www.wowza.com/docs/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

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

```

I also tried

```auto
<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”

---

<div class="post-metadata">

### Author: ![Sergei\_Gromov](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@Sergei\_Gromov](https://community.wowza.com/u/Sergei_Gromov)
#### Post date: [September 13, 2015, 8:22pm UTC](https://community.wowza.com/t/streaming-mp4-to-html5/38792/5 "2015-09-13T20:22:10Z")

</div>

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

---

<div class="post-metadata">

### Author: ![John\_B](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@John\_B](https://community.wowza.com/u/John_B)
#### Post date: [October 28, 2015, 11:41pm UTC](https://community.wowza.com/t/streaming-mp4-to-html5/38792/6 "2015-10-28T23:41:53Z")

</div>

Your link sadly isn’t working, bhushanchander.

---

<div class="post-metadata">

### Author: ![bhushan\_chander](https://avatars.discourse-cdn.com/v4/letter/b/e79b87/32.png) [@bhushan\_chander](https://community.wowza.com/u/bhushan_chander)
#### Post date: [October 27, 2015, 6:48pm UTC](https://community.wowza.com/t/streaming-mp4-to-html5/38792/7 "2015-10-27T18:48:26Z")

</div>

This code is very helpful in regards to [video streaming](http://googgl.me/3e0ov) with HTML5

Thanks
