Questions tagged [mediaview]

13 questions
18
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
  • 183
  • 1
  • 8
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?
Primož Kralj
  • 5,534
  • 14
  • 65
  • 125
0
votes
0 answers

JavaFx- MediaView not display the Video

selectFile.setOnAction(new EventHandler() { @Override public void handle(ActionEvent event) { FileChooser chooser = new FileChooser(); chooser.getExtensionFilters().add("select (*mp4)", "*.mp4"); …
Nelson
  • 1
  • 1
0
votes
0 answers

JavaFX : MediaView - video quality is lost on resize

I have the below code to play a video using MediaView import javafx.application.Application; import javafx.beans.binding.Bindings; import javafx.beans.property.DoubleProperty; import javafx.scene.Scene; import javafx.scene.layout.StackPane; import…
user3164187
  • 1,278
  • 2
  • 17
  • 42
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

How to set swatch images thumbnail bar vertically in Media Viewer?