Hello Gustavo,
Michael here from IMA SDK Team. Thank you for reaching out to us.
For clarification, the setAdWillAutoPlay is used to ensure that the ad server only returns ads that are allowed to be autoplayed (if set to true).
Additionally, some browsers will allow video playback without user interactions if the video is muted. For this behavior, use
AdsRequest.setAdWillPlayMuted(true) and call this method before AdsManager.start().
Lastly, kindly check our Attempt to Autoplay code sample which demonstrates how to attempt to autoplay a video and fall back to click-to-play if autoplay fails. You may find this sample useful when integrating your own implementation.
Regards,
|
||||||
Hello Gustavo,
Thank you for updating us. Glad that the issue has been resolved. Should you encounter any issues with the SDK in the future do not hesitate to come back to us and we will be happy to assist you.
Regards,