Example 2 - Disabling selective elements of the control bar

This example illustrates the how to disable selective elements of the control bar during ad playback. In this case, the scrubber, volume, mute and fullscreen widgets are disabled.

The configuration for this example is:


flowplayer("a.example", "", {
    plugins: {
        controls: {
            autoHide: "always"
        },

        ova: {
            url: "",

            "shows": {
                 "streams": [
                      {
                          "file": "",
                          "duration":"00:00:30"
                      }
                 ]
            },

            "ads": {
                 "controls": {
                     "enableScrubber": false,
                     "enableVolume": false,
                     "enableMute": false
                 },
                 "servers": [
                     {
                           "type": "OpenX",
                           "apiAddress": "",
                     }
                 ],
                 "schedule": [
                      {
                           "zone": "5",
                           "position": "pre-roll"
                      }
                  ],
              },

              "debug": {
                  "levels": "",
                  "debugger": "firebug"
              }
         }
    }
});