Advanced Player Configurations

Flowplayer has great use cases supported out of the box but can be very extensively customized.

Documentation about customizing the player

The best sources to find out what Flowplayer can do is to review our extended documentation sections covering:

We always recommend you to use the player builder to properly configure your player as the starting point but if you need to make minor modifications programatically or manually we have added a few options to do that here. In case you want to make major modifications we suggest to instead use the JavaScript embed code.

Normally the iframe embed code look like this:

<div class="flowplayer-embed-container"
     style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width:100%;">
  <iframe style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"
          webkitAllowFullScreen mozallowfullscreen allowfullscreen
          title="0" byline="0" portrait="0"
          width="640" height="360" frameborder="0" allow="autoplay"></iframe>

If you want to add custom parameters to this code programatically you need to add them to the URL.

We provide options to add the following parameters:

    • Field
    • Values
    • Description
    • id
    • id of the media asset
    • use a Video, Livestream or Playlist id
    • pi
    • id of the player config
    • determine which player config will be used. The iframe will use the default player config on your site if not set
    • autoplay
    • true | false
    • determine if video should autoplay or not
    • mute
    • true | false
    • override mute or non-mute (with sound)
    • startTime
    • seconds into the video
    • set the starting point for playback

An example would look like this to force autoplay, mute and start 10 seconds into the video:

Customizing a player using the JavaScript embed

If you want to do extensive customizations of the player we recommend using JavaScript embed. The JavaScript embed code looks like this:

<div data-player-id="cdcc4202-ef0b-4e03-a43a-d1fcf6d83157">
  <script src="//">
      "src": "f576651c-4cc6-4664-84fa-bb3b35ef1aba"

There are extensive options to configure the player available for you to achieve even the most advanced use cases.