Hey Justin,
Thanks for bringing that up! To me this sounds like something you can do by customizing the video player itself. One way I would do it is to create a custom div matching the dimensions of the video player. This div contains a loading spinner, and will overlay the video player. Display this div as soon as you detect the Play button has been clicked. Once the ad is ready to play (either via
LOADED or
STARTED [for the difference -
see API]), you can remove this div.
The SDK doesn't have a sense of progress during the ad request stage (as it would with the ad playback, since the VAST XML provides the ad's duration), so showing a progress bar at this time is not efficient. Popping the div I suggested after the click action and prior to LOADED/STARTED should be good enough to cover the ad request stage.
Vu Chau
IMA SDK Team