(Deprecated) Miniplayer Integration Guide

Introduction

The Miniplayer is a lightweight integration of the Flash Ad Player for environments that want to load pre-rolls before any type of content, such as gaming sites or image galleries.

The Miniplayer is configurable using Javascript, and it will load the Flash Ad Player inside a lightweight video player, thus eliminating the time and bandwidth required to load an traditional video player, such as Flowplayer or Brightcove. After playing the pre-roll ad break, the Miniplayer will unload itself, thus allowing the main content to be shown.

This approach is particularly useful if each content item is a unique Flash instance with no common underlying Flash platform or framework.

Configuration

Flash Plugin URL

var miniplayerURL="http://cdn.videoplaza.tv/resources/flash/miniplayer/latest/miniplayer.swf"

Configuration String

A string of key/value pairs separated by the "&" symbol. Any relevant flashvar can be added here:

var queryString = "vpHost=http://{subdomain}.videoplaza.tv&vpTags=tag1,tag2&vpCategory=myContentCategory&vpFlags=nomidrolls,nopostrolls,nooverlays,noskins";

Ad complete event

When the pre-roll ad break is complete (or if the Ad Player fails to load), the following Javascript event will be triggered.

vpMiniPlayer.prerollDone()