
M3u8 clean, working streaming code
I have everything working here but I'm trying to get clean display code without the javascript and I can't get it working.
I'm using this base code
<script type='text/javascript' src='http://oxforddigital.tv/streaming/ios/jwplayer.js'></script>
<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'>
jwplayer('mediaspace').setup({
'flashplayer': 'http://oxforddigital.tv/streaming/ios/player.swf',
'file': 'livehttp?adbe-live-event=liveevent',
'image': '',
'bufferlength': '2',
'streamer': 'rtmp://ec2-54-246-6-26.eu-west-1.compute.amazonaws.com/livepkgr',
'controlbar': 'over',
'autostart': 'true',
'stretching': 'exactfit',
'width': '640',
'height': '360',
'modes': [
{type: 'flash', src: 'http://oxforddigital.tv/streaming/ios/player.swf'},
{
type: 'html5',
config: {
levels: [
'file': "http://d4bej95zf4xye.cloudfront.net/hls-live/livepkgr/_definst_/liveevent/livehttp.m3u8"],
'provider': 'video'
}
}
]
});
</script>
and I get This text will be replaced
Does anyone have clean sample code for me? Ethan :)?