Hi Ray,
Thank you for reaching out to us.
I have tested the behavior on your shared test app, and I can see that the spacebar to toggle play/pause will not work once you have click on the video content itself, but if you click on the play/pause button, the spacebar will continue to work for toggling the play/pause functionality as well. Could you confirm if this is the behavior you are reporting? If so, I believe this is an intended behavior, as this is also the behavior you will encounter on our VSI.
So, I think what is happening here, when you click on the video content, the spacebar is not working because it is not triggering your functionality for play/pause. I believe that this is not an issue with the SDK itself but you may find this document guide helpful, but instead of tracking on mouse click, you should track for when the spacebar is press and put your code for play/pause functionality when it catches it.
Regards,
|
||||||
Hi Ray,
Thank you for that additional information. Let me raise this to the rest of our team to get their feedbacks on this as well. We will provide more information once they have responded.
Regards,
Hi Ray,
Hope you are doing well.
Our team has responded to us with the following verbatim:
"I better solution may be to look for the IMA CLICK event and return window focus then.
During reproduction of the issue, I noticed that clicking on the ad did not trigger ad click-thru. Is this intentional from the publisher?"
Let me hear your feedback on this.
Regards,
Hi Ray,
Thank you for confirmation.
> Do you mean fixing the focus with a window.focus() call during the processing of AdEvent.Type.CLICK ? I can certainly try that as a better work around.
Yes you are correct. Have you tried this recommendation? Let me know your feedback on the result, so I can raise again any follow up question along with your main observation to the rest of our team.
Regards,
Hi Ray,
Thank you for confirming that the recommendation works fine. I will share to the rest of the team your observation and feedback and we will get back to you as soon as possible.
Regards,
Hi Ray,
Hope you are doing well.
Our team responded back to us and allow me to share it with you.
Our team believes this is working as intended. For web players, clicks are expected to focus on the click's context. In addition, changing this behavior now would likely affect other publishers who are expecting IMA focus to work as it currently is so it may not be feasible.
Let us know should you have any other concern.
Regards,