Flowplayer · RTMP setup

Playing  

<head/>

<script>

flowplayer(function (api) {
api.on("load", function (e, api, video) {
$("#videosrc").text(video.src);
});
});

JavaScript

<body/>

For this demo we list the Flash RTMP source first, so it is preferred over HTML5 video to test the Flash engine with RTMP. In production it usually would be listed last as fallback only.

<div class="flowplayer" data-rtmp="rtmp://s3b78u0kbtx79q.cloudfront.net/cfx/st" data-ratio="0.4167">
 
<video>
<source type="video/flash" src="mp4:bauhaus">
<source type="video/webm" src="//stream.flowplayer.org/bauhaus.webm">
<source type="video/mp4" src="//stream.flowplayer.org/bauhaus.mp4">
</video>
 
</div>
 
<p class="info">Playing <span id="videosrc">&nbsp;</span></p>

HTML