# How to stream with JWPlayer using a subfolder inside the Content Directory?

**URL:** <https://community.wowza.com/t/how-to-stream-with-jwplayer-using-a-subfolder-inside-the-content-directory/47605>\
**Category:** Wowza Streaming Engine\
**Created:** [December 1, 2016, 7:52pm UTC](https://community.wowza.com/t/how-to-stream-with-jwplayer-using-a-subfolder-inside-the-content-directory/47605 "2016-12-01T19:52:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diana\_Garcia](https://avatars.discourse-cdn.com/v4/letter/d/f1d935/32.png) [@Diana\_Garcia](https://community.wowza.com/u/Diana_Garcia)\
**Post date:** [December 1, 2016, 7:52pm UTC](https://community.wowza.com/t/how-to-stream-with-jwplayer-using-a-subfolder-inside-the-content-directory/47605/1 "2016-12-01T19:52:06Z")

</div>

I have setup a wowza server using JWPlayer with the tutorial here [Players and playback](https://www.wowza.com/docs/how-to-use-jw-player-with-wowza-streaming-engine) but I can’t make it work with a subfolder. I get an “Error loading stream: Could not connect to server” error

The content directory in the vod application is this c:\wowzatest\TestingVideos and I can stream the videos with like this “rtmp://[ip-address]:1935/vod/MP4:cats.MP4” but I can’t access the files inside c:\wowzatest\TestingVideos\Files2

I’ve tried “rtmp://[ip-address]:1935/vod/Files2/MP4:cats.MP4” and “rtmp://[ip-address]:1935/vod/MP4:Files2/cats.MP4”. Is it possible to do this? What am I missing?

Edit: I came accross these threads

> [@\[Wowza 3.5.0\] Unable to play video from a subfolder through HLS](http://community.wowza.com/t/-/38675):
>
> Hello, I’ve just realized that I don’t know how to play videos that are located in a subfolder within the content folder through HLS. Say I have the following video file: /content/test/myVideo.mp4 Playlist URLs: http://wowzaserver.com:1935/vod/mp4:test/myVideo.mp4/playlist.m3u8 http://wowzaserver.com:1935/vod/test/mp4:myVideo.mp4/playlist.m3u8 None of these URLs work. They throw the same error: MediaReaderH264.open[1]: java.io.FileNotFoundException: /usr/local/WowzaMediaServer/content/myV…

[https://www.wowza.com/forums/showthread.php?23015-Content-streaming-to-iPad-iPhone](https://www.wowza.com/forums/showthread.php?23015-Content-streaming-to-iPad-iPhone)

I needed to add _definst_/ after vod/

---

<div class="post-metadata">

**Author:** ![Andy\_Engberson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/andy_engberson/32/392_2.png) [@Andy\_Engberson](https://community.wowza.com/u/Andy_Engberson)\
**Post date:** [March 16, 2017, 5:12am UTC](https://community.wowza.com/t/how-to-stream-with-jwplayer-using-a-subfolder-inside-the-content-directory/47605/2 "2017-03-16T05:12:20Z")

</div>

Hi,

This article [here](https://www.wowza.com/docs/how-to-change-the-storage-location-of-vod-content) will explain where Wowza Streaming Engine stores VOD content and how you can change that location for your VOD apps.

As noted by default, Wowza Streaming Engine is configured to stream VOD content from (and record VOD content to) the [install-dir]/content folder.

You can specify a different storage location for a VOD application in Wowza Streaming Engine Manager by changing the Content Directory value for the application.

Regards,

Andy\_E
