Wednesday 15 May 2013

stream - Changing from Flowplayer to Jwplayer - Could not connect to server -



stream - Changing from Flowplayer to Jwplayer - Could not connect to server -

i'm trying alter on flowplayer (current code below)

flowplayer("player", "http://churchwebsite.com/flowplayer-3.1.5.swf", {

clip: { url: 'livestream', live: 'true', provider: 'influxis' }, // streaming plugins configured under plugins node plugins: { influxis: { url: 'http://churchwebsite.com/flowplayer.rtmp-3.1.3.swf', netconnectionurl: 'rtmp://stream.s22.cpanelservices.com/somethinglive'

this i'm switching

jwplayer("myelement").setup({ file: "rtmp://stream.s22.cpanelservices.com/somethinglive", autostart: true, controls: true, height: 600, width: 800,

here's info have, not sure set in where.

rtmp://stream.s22.cpanelservices.com/somethinglive

rtmp://churchwebsite.com/live

i'm using adobe flash media encoder stream, , through there shows

fms url: rtmp://stream.s22.cpanelservices.com/somethinglive

stream: livestream

a simple illustration of rtmp streaming:

in <head> section:

<script type="text/javascript" src="jwplayer.js"</script>

in <body> section:

<div id="#myelement">loading player...</div> <script> jwplayer("myelement").setup({ file: "rtmp://example.com/application/mp4:myvideo.mp4", image: "/assets/myvideo.jpg", height: 360, width: 640 }); </script>

this assumes 3 jw player script files (jwplayer.js. jwplayer.html5.js, , jwplayer.flash.swf) in same directory index.html. otherwise, src attribute needs point you've stashed them. 3 files need together, in event.

the file attribute stream depends upon what, exactly, you're providing. see jw player configuration guide: http://support.jwplayer.com/customer/portal/articles/1430358-using-rtmp-streaming

stream live jwplayer rtmp

No comments:

Post a Comment