# On demand adaptive streaming using THEOplayer

**URL:** https://community.wowza.com/t/on-demand-adaptive-streaming-using-theoplayer/49594
**Category:** Wowza Streaming Engine
**Created:** [August 31, 2017, 5:06pm UTC](https://community.wowza.com/t/on-demand-adaptive-streaming-using-theoplayer/49594 "2017-08-31T17:06:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Peter\_Hall](https://avatars.discourse-cdn.com/v4/letter/p/9fc29f/32.png) [@Peter\_Hall](https://community.wowza.com/u/Peter_Hall)
#### Post date: [August 31, 2017, 5:06pm UTC](https://community.wowza.com/t/on-demand-adaptive-streaming-using-theoplayer/49594/1 "2017-08-31T17:06:32Z")

</div>

Hi,

I am trying to stream on demand video using multiple bit rates.

I have a smil file like this (which is called [rm-anatomist-trailer-2.](https://www.wowza.com/community/storage/attachments/504-rm-anatomist-trailer-2.txt)smil on the Wowza server):

rm-anatomist-trailer-2.txt

The HTML page looks like this:

```auto
<!DOCTYPE html>
<html>
	<head>
		<title>VideoCentralHD Player (THEOplayer)</title>
 </head>
 <body>
	 <h1>THEOplayer test</h1>
	 <video src="http://wpcontent.lgfl.org.uk:1935/vod/_definst_/Anatomist/smil:RM_anatomist_trailer_2.smil/playlist.m3u8"
			 poster="//cdn.theoplayer.com/video/big_buck_bunny/poster.jpg"
			 controls="controls"></video>
	 <script type="text/javascript" src="//cdn.theoplayer.com/latest/<licence key>/theoplayer.loader.js"></script>
	</body>
</html>

```

[wpcontent.lgfl.org.uk](http://wpcontent.lgfl.org.uk) has public DNS to the Wowza server and CORS has been defined for the VOD stream.

The player displays correctly but when the play button is pressed the console tab in the browser developer options shows the following error:

theoplayer.js:43 GET [http://wpcontent.lgfl.org.uk:1935/vod/](http://wpcontent.lgfl.org.uk:1935/vod/)_definst_/Anatomist/smil:RM\_anatomist\_trailer\_2.smil/chunklist\_w836646052\_b47100\_sleng.m3u8 404 (Not Found)

This setup works when playing an individual video at a fixed bit rate.

Any assistance will be most appreciated.

Regards

Peter Hall
