How to use

Files included in the package:

easybits-helper.js

easybits-multistreaming.js

easybits-flash-streaming.js

easybits-httpstreaming-strobe-plugin.swf

easybits-httpstreaming.html

Videos and player on the same domain

In the simplest scenario where you delivery your videos from the same domain where the player is embedded, that is your player is on page http://example.com and your videos are delivered from http://example.com, you add the supplied javascript file to the head tag of your page and pass the id of the player:

All or some of the videos reside in a domain other than where the player is embedded

In this case additionally to the previous set up you would need to edit the included html file (easybits-httpstreaming.html) to specify location of the javascript file (easybits-httpstreaming.js) and to upload it to each domain's server that steams videos.

Then define a global configuration variable called easybits_Flashstream with location/locations for the uploaded html loader files:

Streaming videos simultaneously from multiple locations

The plugin supports simultaneous delivery of video from different servers. To specify additional locations along with loaders you add alturls property to the plugin configuration obejct which is an Array of objects containing url of the video and an Array of corresponding locations :