![](https://secure.gravatar.com/avatar/06aacb2f1dbed200347db0a003fc6179?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
RTMP Stream with HTML5 fallback
I use this code, that works great:
bc.. <script type='text/javascript' src='jwplayer.js'>
</script>
<div id='mediaplayer'></div>
<script type="text/javascript">jwplayer('mediaplayer').setup({'id': 'playerID', 'width': '100px', 'autostart': 'false','provider': 'rtmp','streamer': 'rtmpt://IP-address:Port/live/','file': 'livestream','modes': [{type: 'flash', src: 'player.swf'},{type: 'html5',config: {levels: [ {'file': 'http://IP-address:Port/live/livestream/playlist.m3u8'} ],'provider': 'video'}}]});
</script>
I am wanting to just do an audio stream with the same setup. Is there an option I can add to just make it audio only, then later on take it out and make it a video stream again? Or maybe just have it display the audio bar?
That and I am using an older version of JW player.
If i went to JW player 6 would the embed look different?
Thank you!!