The BridPlayerBuilder is a class used for setting up predefined behavior for the BridPlayer.

The following methods are available:

// Build and return the BridPlayer instance
public BridPlayer build()

// Rebuild and return the existing BridPlayer instance
public BridPlayer rebuild()

// Set whether the player should be in fullscreen mode or not
public BridPlayerBuilder fullscreen(boolean fullscreen)

// Set whether the player should start playing when loaded
public BridPlayerBuilder play(boolean play)

// Set whether the player should be paused when loaded
public BridPlayerBuilder pause(boolean pause)

// Mute the player when loaded
public BridPlayerBuilder mute()

// Unmute the player
public BridPlayerBuilder unmute()

Enable VPAID support

To enable VPAID ad support for the player, it is necessary to set the VPAID support to true in the builder method.

VPAID support allowing the player to play both VAST and VPAID ads simultaneously without
excluding one another.

// Set whether to use VPAID support or not
public BridPlayerBuilder useVpaidSupport(boolean useVpaidSupport)


It is important to note that if you use VPAID support, the performance of the player may be slightly lower.

Therefore, our team recommends using VPAID support in situations where you are sure that you will serve VPAID ads.

What’s Next