Android Question VideoControler in Native Ads Advanced

asales

Expert
Licensed User
Longtime User
With this code:
B4X:
NativeContentAd.RunMethod("getVideoController", Null)
I get this return:
com.google.android.gms.ads.VideoController@94da3d6

that is an VideoController (An object that provides playback control for video ads):
https://developers.google.com/android/reference/com/google/android/gms/ads/VideoController
https://developers.google.com/admob/android/native-advanced#videocontroller

How I can show the video of the ad in a panel?

Thanks in advance for any tips.

reference:
https://www.b4x.com/android/forum/threads/any-news-about-native-ads-advanced.88100/#post-562893
 

asales

Expert
Licensed User
Longtime User
B4X:
Log("Has video: " & vc.RunMethod("hasVideoContent", Null))
"False"
I tried with 5 differents ad units and in all of them I get this return: False.
I think the video asset is not available.
I'll be wait and and test later.
Thanks!
 
Upvote 0
Top