Flussonic Media Server documentation

Video insertion on the website (embed.html)

Flussonic Media Server has a special page embed.html which is intended for video insertion to a website or viewing of video via a browser.

It is available via the link:


The page automatically detects a browser version to select a supported protocol. For the majority of devices for today — it's HLS.

When opening embed.html directly, the video will expand to the size of the browser window and start playback automatically.

embed.html is convenient for an insertion on a website, HTML code for insertion is available on Overview page of each stream in the admin interface. Example:

<iframe style="width:640px; height:480px;" allowfullscreen src="http://hostname/streamname/embed.html"></iframe>

The code inserts a player window with a fixed dimension (640x480px) to the page. Playback starts automatically.

For most applications no additional configuration is required, but embed.html has parameters that can be adjusted via URL.

embed.html — the same player that is used in admin UI of Flussonic Media Server.

Options Anchor Anchor x2

Additional parameters are set in the address bar:


  • autoplay — autostart playback when the page is opened. The default value is true, to disable set false. Displays screenshots before viewing.
  • play_duration — amount of seconds until video playback stops. The default is off. Useful for saving traffic.
  • realtime — enables broadcasts via low latency protocols. Automatically selects between MSE-LD, RTMP or WebRTC. Is disabled by default, set true value for video playback with low latency. Attention! Low-latency broadcast consumes more CPU and network resources, do not use it without a real need, more details in a separate article.
  • dvr — opens the archive player. To access the file, specify the value true. See below for details.
  • ago — allows users to rewind back. The value is specified in seconds. The default is off. It's more convenient than DVR player for viewing video in the last few minutes or hours. Ideal for pausing and rewinding live video on the site. For example, the rewind hour is given by: embed.html?ago=3600.
  • from — unix timestamp of record start. If this option is specified the player will timeshift-abs of the playlist from the specified time.
  • to — unix timestamp of record end. Used only in conjunction with from. The player will open HLS VOD, rewind will be available within the specified interval.

An example of access to video from the archive. For example, recording a TV show:


Its better to generate such links via server side scripting (scripts?) based on program guide (EPG) for the organization of a CatchUP service.

DVR player Anchor Anchor x2

Archive player can be opened by the link:


The player can play the video from the archive, calendar is available for large archives in addition to timeline. The player interface allows you to set the timeline scale, enable fast playback and save the specified interval as an mp4 file.

All extra address line parameters are available to DVR player except ago.

The player interface allows you to automatically generate links in format embed.html?dvr=true&from=1511300552 without an additional tools. Just open a right time with timeline and click on the clock to open the link with from parameter.

Old embed.html Anchor Anchor x2

embed.html has been greatly redesigned in Flussonic 4.7.0. For backwards compatibility, the old version is available at: