Multiple RTMP players

In this demo we show how to stream using RTMP from MaxCDN. We have two
players showing the same video here. Notice again that you can seek anywhere on the
timeline even though the video has not been loaded yet.

Content Delivery Network is used to provide fast download speeds and high
availability. The video file is served from the server that is closest to you in
the network. No matter where you are located globally (US, Europe, Asia) the file
is loaded from a nearby server thus making it load faster.

h.264 encoding for movie files. As you can see the video quality is good. H.264
is a video codec that offers good quality with smaller bitrates compared to some
other formats.

HTML

We have two player containers with a background image and a nested splash image
(play button). You can find more information about this kind of splash image setup
in this demo.

<!-- the first player. video is specified in href attribute --><aclass="rtmp"href="mp4:bbb-800"style="background-image:url(/media/img/demos/bunny.jpg)"><imgsrc="/media/img/player/btn/play_text_large.png"/></a>

<!-- the second player. uses the same video here but could be different --><aclass="rtmp"href="mp4:bbb-800"style="background-image:url(/media/img/demos/bunny2.jpg)"><imgsrc="/media/img/player/btn/play_text_large.png"/></a>

HTML

Javascript

This Flowplayer code configures RTMP streaming for both of those players. Of
course you could have had as many players on the page as you like and this same
call would have handled them well. The video being played is given on each player
containers' href attribute.