Files
shaka-player/lib/ads
Theodore Abshire a993fd6b0c Resize ad after 'loadeddata' event.
Before, we depended on the 'loadedmetadata' event to know when to resize
an ad. However, on Safari, that event would sometimes fire before the
video element had changed to its final size. This would result in the ad
being the wrong size.
This changes the ad manager to instead wait for the 'loadeddata' event,
which happens later in the loading process.

Closes #2462

Change-Id: Ie0470eb894034e1427a0767c771a01f801d0f9b4
2020-03-17 15:33:16 -07:00
..
2020-03-02 19:44:14 +00:00