# Streaming to HTML5 from wowza

**URL:** <https://community.wowza.com/t/streaming-to-html5-from-wowza/36184>\
**Category:** Wowza Streaming Engine\
**Created:** [May 3, 2011, 5:12am UTC](https://community.wowza.com/t/streaming-to-html5-from-wowza/36184 "2011-05-03T05:12:10Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![Hristina\_Bosilkovska](https://avatars.discourse-cdn.com/v4/letter/h/df788c/32.png) [@Hristina\_Bosilkovska](https://community.wowza.com/u/Hristina_Bosilkovska)\
**Post date:** [June 14, 2011, 9:21am UTC](https://community.wowza.com/t/streaming-to-html5-from-wowza/36184/21 "2011-06-14T09:21:41Z")

</div>

We use the following code:

```auto
<html>
<head> 
  <title>Cupertino Streaming</title>
</head>
<body>
<video controls src="http://[wowza-address]:1935/live/mStream/playlist.m3u8">
</video>
</body>
</html>

```

The link to stream on IOs is the following:

```auto
http://[wowza-address]:1935/live/myStream.sdp/playlist.m3u8

```

We added an alias (and uncommented the alias tags in the Application.xml)

```auto
mStream=myStream.sdp

```

But we get the error:

> Stream alias access denied mStream.

at live.html, and

> The video could not be loaded, either because the server or network failed or because the format is not supported.

, respectively

> e.target.error.MEDIA\_ERR\_SRC\_NOT\_SUPPORTED

at IOs devices.

We use Flash media encoder.

How can we fix this problem?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Hristina\_Bosilkovska](https://avatars.discourse-cdn.com/v4/letter/h/df788c/32.png) [@Hristina\_Bosilkovska](https://community.wowza.com/u/Hristina_Bosilkovska)\
**Post date:** [June 14, 2011, 1:09pm UTC](https://community.wowza.com/t/streaming-to-html5-from-wowza/36184/22 "2011-06-14T13:09:38Z")

</div>

Thanks for the reply.

Yes, the alias

```auto
mStream=myStream.sdp

```

is set in the **alias.streamer.txt** , together with the other working aliases.

In the Application.xml are only the alias module and its properties.

I also tryed the following aliases (but nothing worked):

```auto
mStream=myStream.sdp
myStream.sdp=mStream
mStream=http://[wowza-address]:1935/live/myStream.sdp
http://[wowza-address]:1935/live/myStream.sdp=mStream
mStream=rtmp://[wowza-address]:1935/live/myStream.sdp
rtmp://[wowza-address]:1935/live/myStream.sdp=mStream

```

---

<div class="post-metadata">

**Author:** ![Hristina\_Bosilkovska](https://avatars.discourse-cdn.com/v4/letter/h/df788c/32.png) [@Hristina\_Bosilkovska](https://community.wowza.com/u/Hristina_Bosilkovska)\
**Post date:** [June 14, 2011, 4:02pm UTC](https://community.wowza.com/t/streaming-to-html5-from-wowza/36184/23 "2011-06-14T16:02:13Z")

</div>

At first, thanks for the reply.

When I use the code this way:

```auto
<html>
<head>
  <title>Cupertino Streaming</title>
</head>

<body>
<video controls src="http://[wowza-address]:1935/live/[B]myStream.sdp[/B]/playlist.m3u8">
</video>

</body>
</html>

```

I get the following error:

> e.target.error.MEDIA\_ERR\_DECODE

repectively

> The video playback was aborted due to a corruption problem or because the video used features your browser did not support

---

<div class="post-metadata">

**Author:** ![Hristina\_Bosilkovska](https://avatars.discourse-cdn.com/v4/letter/h/df788c/32.png) [@Hristina\_Bosilkovska](https://community.wowza.com/u/Hristina_Bosilkovska)\
**Post date:** [June 14, 2011, 4:42pm UTC](https://community.wowza.com/t/streaming-to-html5-from-wowza/36184/24 "2011-06-14T16:42:24Z")

</div>

Thanks for the quick reply.

I recently have reinstalled the encoder because of some problems with the aac

license and I did not check that the encoder was not set to h.264 Format.

Thanks again.

---

<div class="post-metadata">

**Author:** ![Arian\_Amiri](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@Arian\_Amiri](https://community.wowza.com/u/Arian_Amiri)\
**Post date:** [May 4, 2011, 10:15am UTC](https://community.wowza.com/t/streaming-to-html5-from-wowza/36184/25 "2011-05-04T10:15:38Z")

</div>

Does the OS have to be Mac OSX? Can I stream to safari on a windows machine?

---

<div class="post-metadata">

**Author:** ![Arian\_Amiri](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@Arian\_Amiri](https://community.wowza.com/u/Arian_Amiri)\
**Post date:** [May 4, 2011, 10:18am UTC](https://community.wowza.com/t/streaming-to-html5-from-wowza/36184/26 "2011-05-04T10:18:43Z")

</div>

Also does this work for VOD?

---

<div class="post-metadata">

**Author:** ![Jason\_Chan](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@Jason\_Chan](https://community.wowza.com/u/Jason_Chan)\
**Post date:** [January 22, 2013, 1:23pm UTC](https://community.wowza.com/t/streaming-to-html5-from-wowza/36184/27 "2013-01-22T13:23:16Z")

</div>

> First remove the StreamNameAlias package.
> 
> In your encoder, make sure you have select Format h.264, then click little wrench icon next to format and select Baseline 3 profile. If MP3 audio, make it Stereo 44100Hz.
> 
> Make the Stream name “myStream.sdp”
> 
> Configure an a live application following this tutorial, and make sure you follow the Cupertino configuration steps:
> 
> [Set up an RTMP encoder for live streaming](https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder))
> 
> Then test in Flash with Wowza example LiveVideoStreaming:
> 
> Server: rtmp://[wowza-address]:1935/live
> 
> Stream: myStream.sdp
> 
> Then test in iOS device.
> 
> Richard

I tried the code

```auto
<video controls="controls">			
<source src="http://localhost:1935/live/myStream/playlist.m3u8"/>
</video>

```

It works fine for the test in Flash with Wowza example LiveVideoStreaming, but for some reason I can’t play it through an iOS device. It just shows the player with a crossed out play button.

I’ve followed all the instructions with regards to the fmle encoder and the wowza streaming setup. Is there something I’ve missed?

---

<div class="post-metadata">

**Author:** ![Jason\_Chan](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@Jason\_Chan](https://community.wowza.com/u/Jason_Chan)\
**Post date:** [January 22, 2013, 2:08pm UTC](https://community.wowza.com/t/streaming-to-html5-from-wowza/36184/28 "2013-01-22T14:08:10Z")

</div>

Thanks a bunch! It works perfectly now.

---

<div class="post-metadata">

**Author:** ![Rodrigo\_Blanc](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@Rodrigo\_Blanc](https://community.wowza.com/u/Rodrigo_Blanc)\
**Post date:** [May 16, 2013, 4:07pm UTC](https://community.wowza.com/t/streaming-to-html5-from-wowza/36184/29 "2013-05-16T16:07:07Z")

</div>

Have any version available for this today?

It’s possible streaming to others desktop browsers now, or the only way to use html5 audio/video tag for streaming is to use iOS devices or safari on mac?

Thanks.

[Previous page](https://community.wowza.com/t/streaming-to-html5-from-wowza/36184.md?page=1)
