InteractiveAdvertisingBureau / SIMID

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

Sample code does not work when duration less than original #374

Closed ryanthompson591 closed 4 years ago

ryanthompson591 commented 4 years ago

When a user calls requestDurationChange. The sample player code adds a timer that can extend the duration of the ad. However, the player will not act correctly if the new duration is less than the original.

When the duration is less than the original, the player should end the ad when the new duration time is up.