Questions tagged [mediaview]
15 questions
22
votes
5 answers
Google Ads MediaView not correctly resizing height to wrap_content when displaying image
I got an email from AdMob today saying:
Change to native ads policy: Native ads will require MediaView to
render the video or main image asset. In an effort to help you deliver
a better ad experience more easily, beginning October 29th, native…

Sarah
- 221
- 2
- 9
1
vote
0 answers
Error occurred during initialization of boot layer in JavaFX
Creating simple javafx 17.0.2 application. Getting error.
OS: Windows 11
Java SE Development Kit: 17.0.2
javafx: 17.0.2
Error
Error occurred during initialization of boot layer
java.lang.module.FindException: Module aparajita.suman.demo not…

Suman Kumar
- 11
- 5
1
vote
0 answers
How I can set referer for javafx mediaplayer
I'm using JavaFx MediaPlayer in kotlin desktop. How I can set referer for link.
here my code:
val mediaView = MediaView()
val media =
…

William
- 225
- 4
- 21
1
vote
0 answers
Will MediaView still show video ads when height is wrap_content?
I need to set height of my com.google.android.gms.ads.formats.MediaView to wrap_content, so it nicely wraps the images. Will video ads will still show?

c0dehunter
- 6,412
- 16
- 77
- 139
0
votes
0 answers
View pager 2 render issue with full screen mode android
View pager 2 render issue with full screen mode android . When I scroll in full screen mode the UI cuts and when its not in full screen with gesture mode off its work fine. I am using view pager 2 with media view and recyclyer view adapter issue…
0
votes
1 answer
Admob native ads video not showing
I successfully set Admob native ads in my app, but the video not showing in the media content, it shows an empty area even the mediaContent is not null, I don't know if this problem happens in real code id and the app must be published in the store,…

Dr Mido
- 2,414
- 4
- 32
- 72
0
votes
1 answer
JavaFX setOnEndOfMedia on next MediaPlayer
I have List that is populating by
private List players() {
for (String file : path.list((dir1, name) -> {
if (name.endsWith(SUPPORTED_VIDEO_FILE_EXTENSIONS)){
return true;
}
return…

Kzkovich
- 5
- 3
0
votes
1 answer