Request: for MediaView, allow to set where to have the video controls, and also customize them

68 views
Skip to first unread message

Liran Barsisa

unread,
Aug 12, 2024, 3:03:14 PM8/12/24
to Google Mobile Ads SDK Developers
Currently we only have callbacks for the video:
https://developers.google.com/admob/android/native/video-ads

However, the controls are always at the bottom-left, so we can't put there anything to avoid overlapping, which can even occur on the samples of it:
https://github.com/googleads/googleads-mobile-android-examples

Here's when nothing is on top of it:
2024-08-12_22-01-17.png

And here's when there is, running the full-screen video ad sample, and I actually can't even see the controls there for some reason:

2024-08-12_22-02-11.png

Please offer some API of the controls-UI (play/pause, mute/unmute), to be able to set where to put them, and also replace them with our own Views.
Also offer a way to decide what clicking on the MediaView does. Currently it does performs a click on the ad. I thought it would be possible to play/pause the video instead...


Mobile Ads SDK Forum Advisor

unread,
Aug 12, 2024, 7:56:00 PM8/12/24
to lbl...@gmail.com, google-adm...@googlegroups.com
Hi,

Please note that custom playback control are disabled by default. If the ad does have video content and custom controls are enabled, you should then display your custom controls along with the ad, as the ad won't show any controls itself. The controls can then call the relevant methods on the VideoController. For more details kindly refer ​​​​​​​Custom playback controls.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vErLA:ref" (ADR-00262990)

Thanks,
 
Google Logo Mobile Ads SDK Team

 

Liran Barsisa

unread,
Aug 12, 2024, 8:22:00 PM8/12/24
to Google Mobile Ads SDK Developers
"Disabled by default" ? They can't be enabled. That's why I made the request. There is no API for this.
There isn't even API to set them in a different position. It's always at the bottom-left.

"This feature is currently only available for Ad Manager reservations."

So, please:
1. Offer it officially for Admob, for all cases of showing a video.
2. Show how to replace the controls, in sample and snippets. Currently none exist. 
3. Offer another alternative API, to just set the position of the controls

Mobile Ads SDK Forum Advisor

unread,
Aug 13, 2024, 4:12:17 AM8/13/24
to lbl...@gmail.com, google-adm...@googlegroups.com

Hi,

I will raise a request to add this feature. I cannot provide a scheduled timeline for the availability of this feature. I would recommend you to please follow our release notes for further updates. 

Reply all
Reply to author
Forward
0 new messages