InteractiveAdvertisingBureau / SIMID

Secure Interactive Media Interface Definition (SIMID)
https://interactiveadvertisingbureau.github.io/SIMID/
Apache License 2.0
45 stars 24 forks source link

Have way to specify unknown size in the spec #413

Open ryanthompson591 opened 3 years ago

ryanthompson591 commented 3 years ago

Sometimes on initialization of a preroll the size of the video might not yet be known.

In this case it would be useful in the spec to have a way to let the ad know that the dimensions are not yet known.

Proposal: Dimensions may use -1 to specify when something is unknown.

For example

videoDimensions: { x: 0, y: 0, width: -1, height: -1, }

would indicate that the video will be in the top left corner but the width and height are not yet known.

mimidden commented 3 years ago

Committee accepts this.