Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Type

Description

autoPlayContent

Boolean

Set true to auto play the content preloader when in view.

closeevent

Boolean

If set true, the developer will need to set an event listener on the close event. Which will be called before closing the player.

hideInitPreloader

Boolean

Set true to hide the preloader until there is an ad.

inViewRatio

Number

Enter a number between 0 and 1 to define the required viewability of the player for floating/sticky.

lastFrame

Boolean

Set true to freeze the MP4 video when it reaches the end.

midrolldelay

Int

Define the number of seconds to wait before the player starts to searching for the first ad.

nohideIframe

Boolean

Set true to not hide the I-Frame.

showPos

Boolean

Set true for the player to immediately use its space in the page. The page will not move when the player opens.

showpreloader

Boolean

Set true to show the loading icon while the player searches for an ad.

startaddelay

Int

Define the number of seconds waited before calling startAd. Allows extra time for a higher priority Ad Sources to respond with Ad Loaded.

startdelay

Int

Define the number of seconds to wait before calling startAd for the first time. The player loads and searches for ads, but delays the call to startAd.

startmidroll

Int

Define the number of seconds to wait after an impression and call startAd for the next one.

waitforConsent

Boolean

Select to wait for consent in the EU before requesting ads.

...

3.2.

...

2 Create Instream Template

Instream template is created for player tags that play content with ad breaks.

...

Request Method:
DELETE

Status Code:
200 OK

...

3.2.3 Generate Template Config Json

Request URL:
https://tg1.aniview.com/api/adserver/spc?AV_PUBLISHERID=${PUBLISHERID_ID}&AV_TEMPID=${TEMPLATE_ID}

Request Method:
GET

Status Code:
200 OK

Parameter

Description

AV_PUBLISHERID

Publisher ID

AV_TEMPID

Template ID