Hi all.
i m using the @Erel code posted here.
https://www.b4x.com/android/forum/t...ds-advanced-with-mediaview.96873/#post-611090
this show a video OR a image....
how can i know if is a video or a image via code? i dont know if
getVideoController is the best way to detect this.
what i want to make is, detect if is a video, if is a video i will put this 100% on the nativeads size. if it is a image i need to get the size of the image and load a image with a correct size inside the nativead panel
another way to know if is a video or a image after loaded into the mediaview?
thx
i m using the @Erel code posted here.
https://www.b4x.com/android/forum/t...ds-advanced-with-mediaview.96873/#post-611090
this show a video OR a image....
how can i know if is a video or a image via code? i dont know if
getVideoController is the best way to detect this.
what i want to make is, detect if is a video, if is a video i will put this 100% on the nativeads size. if it is a image i need to get the size of the image and load a image with a correct size inside the nativead panel
another way to know if is a video or a image after loaded into the mediaview?
thx