Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have way to specify unknown size in the spec #413

Open
ryanthompson591 opened this issue Oct 2, 2020 · 1 comment
Open

Have way to specify unknown size in the spec #413

ryanthompson591 opened this issue Oct 2, 2020 · 1 comment
Assignees

Comments

@ryanthompson591
Copy link
Collaborator

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
Copy link
Collaborator

Committee accepts this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants