
.f4m
My goal is to setup the JW Player to play Flash and then fall back to iOS. My current code is below. As you can see only Apple devices are able to receive the HTTP Dynamic streaming. However I would like flash to be delivered via HTTP (http://wowza-server:1935/live/myStream/manifest.f4m) instead of RTMP.
<script type="text/javascript" src="/jwplayer/jwplayer.js"></script>
<body>
<div id="mediaplayer"></div>
<script type="text/javascript">
jwplayer('mediaplayer').setup({
'width': '640',
'height': '380',
'autostart': 'true',
'provider': 'rtmp',
'streamer': 'rtmp://wowza-server:1935/live',
'file': 'myStream',
'modes': [
{type: 'flash', src: 'jwplayer/player.swf'},
{type: 'html5', config:
{
'file': "http://wowza-server/live/myStream/playlist.m3u8",
provider: 'video'
}
}
]
});
</script>
</body>
</html>