Quantcast
Viewing all articles
Browse latest Browse all 2800

Streaming in html5

Hi. Im trying to stream with jwplayer from wowza. Its working now with flash and i want it to work with html5 but i cant get it working. I have tried several codes/scripts and below is last one, it doesnt work. Can someone point out what im doing wrong and how I can stream in our website html5-based stream. jwplayer.key="key"; jwplayer('mediaplayer').setup({ 'id': 'playerID', 'width': '480', 'height': '270', 'provider': 'rtmp', 'streamer': 'rtmp://serverIP:1935/stream/name.stream', 'file': 'sample.mp4', 'image': 'http://example.com/thumbs/sample.jpg', 'modes': [ {type: 'flash', src: '/jwplayer/player.swf'}, { type: 'html5', config: { 'file': 'http://serverip:1935/stream/name.stream/playlist.m3u8', 'provider': 'video' } }, ] }); Thanks

Viewing all articles
Browse latest Browse all 2800

Trending Articles