Hello.
We have confirmed an unexpected behavior in IMA HTML5 SDK on iOS browsers, this is, assigning a value other than 1 to the 'playbackRate' of the 'video' element will affect the playback speed of the ad.
- Details:
* On iOS Browswer (Safari, Chrome, Firefox, etc), if '2' is assigned to the 'playbackRate' of the 'video' element, the ad is played at double speed, after the ad ends, the content is played back at 1x speed.
* On browsers other than iOS browsers (Windows, Mac or Andorid browsers), if '2' is assigned to the 'playbackRate' of the 'video' element, the ad is played at 1x speed, after the ad ends, the content is played back at double speed.
- Specs:
* iOS 16.1.2
* Safari, Chrome, Firefox, etc for iOS Browser app
* IMA HTML5 SDK version 3.565.0
- Contents:
* Movie : Content in IMA Sample App "advanced" for HTML5
*
https://storage.googleapis.com/gvabox/media/samples/stock.mp4* Ads : IMA Sample Tag
*
https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_ad_samples&sz=640x480&cust_params=sample_ct%3Dlinear&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=- Project:
google_ima_sdk_html5_samples_v3.508.0-0/advanced
- Steps:
1. Create a simple video player
2. Import the IMA SDK
3. Attach page and video player handlers
4. Create the ad container
5. Initialize the AdsLoader and make an ads request
6. Listen for AdsLoader events
7. Start the AdsManager
8. Make the AdsManager responsive
9. Listen for AdsManager events
10. Call videoElement.play()
11. Assign '2' to videoElement.playbackRate variable
```
var videoElement = document.getElementById('videoElement');
videoElement.addEventListener('play', (event) => {
videoElement.playbackRate = 2;
});
```
We strongly hope that all browsers behave in the same way when the playbackRate value is changed.
Best regards.