Ads can be played at a speed greater than 1. See this demo. Set the speed to x3 and wait for the mid-roll ad to play. Expected behaviour, ad plays at x1 speed. Actual behaviour, ad plays at x3 speed.
Changes
Set playback rate to 1 during an ad.
Set playback rate to the previous rate once ad has finished.
If the playback rate menu is visible in the player, hide it during the ad and show it again when the ad finishes.
Problem
Ads can be played at a speed greater than 1. See this demo. Set the speed to x3 and wait for the mid-roll ad to play. Expected behaviour, ad plays at x1 speed. Actual behaviour, ad plays at x3 speed.
Changes
Here is a demo of the fix.