ResizablePlayer

public interface ResizablePlayer

Provides an API for interactive advertisements to resize the VideoAdPlayer or VideoStreamPlayer within its container. For example, a creative may want to render a banner below the video. Implementing this interface is not mandatory, but will enable richer interactive creatives to be played in your app.

To make your player resizeable, the same class that implements VideoAdPlayer or VideoStreamPlayer must also implement ResizablePlayer.

Public Method Summary

abstract void
resize(int leftMargin, int topMargin, int rightMargin, int bottomMargin)
Resize the VideoPlayer within its bounds by adding margins to each side, in pixels.

Public Methods

public abstract void resize (int leftMargin, int topMargin, int rightMargin, int bottomMargin)

Resize the VideoPlayer within its bounds by adding margins to each side, in pixels.

Parameters
leftMargin
topMargin
rightMargin
bottomMargin