You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I have a problem about the mid-roll ads that do not play on iphone that the ios version is blow 17
1.Open the content video with mute and autoplay, the pre-roll ads will auto play in mute.
2.After pre-roll ad, the content video will auto play and click the mute button to unmute the video.
3.Then the mid-roll ads can not play, from the console.log it seems end immediately after the ad start. There also no error.
The problem will not happen if I comment the function SdkImpl.prototype.onPlayerVolumeChanged
Could you please help me to find the reason and if there are some ways could fix this problem
Thanks
The text was updated successfully, but these errors were encountered:
I am unsure why the volume settings would be affecting mid-roll playback. I do not have an iOS device on versions lower than 17 to reproduce this issue with.
Thanks for answering. I have debugged and find that when the video try to play the mid-roll ad, it will throw a NotAllowedError error show as the following capture and catch by the ima web sdk.
Since I set disableCustomPlaybackForIOS10Plus = true, there will be two video element on the html, one for content and one for ad.I guess the reason may be that we never interact with the ad video like click, we just unmute the content video and use javascript to unmute the ad video.Then when try to play the mid-roll ad, it will try to play an unmute video without user interact with it, So it is denied by the Safari autoplay policy.
I think maybe we can check weather the ad video can play in unmute mode before setVolume from 0 to 1 or catch the error and replay the ad in mute mode.But I am not sure weather it is possible to implement, do you have any other suggestions?
I saw your thread in the IMA SDK forum and I think this is an issue specific to the VideoJS-IMA plugin, and not an issue with the IMA SDK.
I was able to reproduce the issue where the midroll is skipped if the content is unmuted on iOS 15. I will plan to look into a fix for this issue in the plugin.
Hi
![image](https://private-user-images.githubusercontent.com/166356844/330029277-2c58a3b4-3ab0-4ad4-bcb1-f95db6f486a3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNjk3OTIsIm5iZiI6MTcyNjE2OTQ5MiwicGF0aCI6Ii8xNjYzNTY4NDQvMzMwMDI5Mjc3LTJjNThhM2I0LTNhYjAtNGFkNC1iY2IxLWY5NWRiNmY0ODZhMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMlQxOTMxMzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zOWE2OTE0YmI4YTYxMDIyODU3MDAxMmQ3YzM0YWViMTRiNDk2YzQ0YzYwNWIyYTRiMmMwOGNlMzg0MGZhYWU0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.qAUaLUNzazkMIuxP3yDE1V0rZKtXmGTo0fxH1uF-Vbw)
I have a problem about the mid-roll ads that do not play on iphone that the ios version is blow 17
1.Open the content video with mute and autoplay, the pre-roll ads will auto play in mute.
2.After pre-roll ad, the content video will auto play and click the mute button to unmute the video.
3.Then the mid-roll ads can not play, from the console.log it seems end immediately after the ad start. There also no error.
The problem will not happen if I comment the function SdkImpl.prototype.onPlayerVolumeChanged
Could you please help me to find the reason and if there are some ways could fix this problem
Thanks
The text was updated successfully, but these errors were encountered: