Category Archives: Tutorial

  • -

How to embed the nanoStream web plugin into a web page

Embedding the nanoStream web plugin into a web page is as simple as using other plugins such as the Flash player. nanoStream is a plugin object which can be controlled by Javascript. There are helper scripts available with a high level API and sample user interface commands.

Preparing a web page

In your HTML code, add a div tag at the location where you would like to see your live camera. Name it “liveEncoder”.


<div id = "liveEncoder">liveCam here</div>

The liveEncoder element will be replaced by Javascript with the nanoStream plugin.

Embedding with jQuery

Generally you should access plugins only when the web page is fully loaded. You can ensure this by using the jQuery.ready function:

jQuery(document).ready(function($) {

// embed the plugin at div "liveEncoder" and name it "nanovid1"
liveembed('liveEncoder', { id: 'nanovid1' });

// get access to the plugin and make it a Javascript object "live"
var live = $('#nanovid1')[0];



Run the encoder broadcast

// init the encoder

//stream to an RTMP publishing point and stream name
live.DestinationURL = "rtmp://";

//run the encoder broadcast


See the example web page at our demo site for a full example including user interface elements.


  • -

  • -

Documentation nanoStream Live Video Encoder Toolkit

Manual and Documentation for Usage of the nanoStream Live Video Encoder Application and Browser Plugin.

Latest changes: updated documentation for nanoStream 2.5


See also the
nanoStream API Documentation for Developers


Info / Manual

pdf icon LiveVideoEncoder quick Info



“Read More”

  • -

NEW RELEASE – nanoStream 2.6

nanocosmos rolls out nanoStream 2.6 for Windows and MacOS to selected customers. The new release contains several updates, new functions and quality improvements for H264 encoding and streaming.

Some of the new features and benefits:

  • New H.264 encoder with much improved quality (also made available to our SDK and DirectShow customers)
  • Improved Text and Bitmap Overlay with simple layout editor and API
  • Improved RTMPT (Tunneling) and Proxy Detection
  • Improved Documentation and API
  • New Encoder and RTMP Streamer for MacOS, available as command line app and browser plugin


Contact us for further questions and an evaluation.

  • -