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