MPEG-DASH

The Flowplayer Native MPEG-DASH plugin is a loader plugin that plays MPEG-DASH (.mpd) source files.

Installation

Include the plugin next to the core player:

<script src="//cdn.flowplayer.com/releases/native/3/stable/flowplayer.min.js"></script>
<script src="//cdn.flowplayer.com/releases/native/3/stable/plugins/dash.min.js"></script>

Player and plugins exist in different release versions. Please see the release channel documentation.

OVP managed player installation

To enable the plugin in an OVP JavaScript (ESM) embed, import the plugin's ESM module after the embed module and register it with flowplayer(dash) before you create the player:

<div id="player-<media id>"></div>
<script type="module">
  import flowplayer from "https://embed.flowplayer.com/<player id>/<media id>.js";
  import dash from "https://cdn.flowplayer.com/releases/native/3/stable/esm/plugins/dash.min.js";

  flowplayer(dash);
  flowplayer("#player-<media id>", {});
</script>

Load the plugin from the same release channel or version as the player. In legacy async embeds, add "dash" to the "plugins": [] array instead.

Sample code:

var player = flowplayer('#container',
    { src: '//edge.flowplayer.org/bauhaus.mpd' }
  )

Accessing the Dash JS instance

The Dash JS instance is exposed at player.dash when it is available, providing the ability to fully manipulate the underlying implementation for any custom integration necessary.

Results