Java Fenster FensterVideoView Android只播放声音,没有视频

Java Fenster FensterVideoView Android只播放声音,没有视频,java,android,android-mediaplayer,textureview,Java,Android,Android Mediaplayer,Textureview,我正在尝试用Fenster在Android上显示视频,目前为止我只收到音频。视频不播放,但我能听到音频 我的xml文件是: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:sothree="http://schemas.android.com/apk/res-auto"

我正在尝试用Fenster在Android上显示视频,目前为止我只收到音频。视频不播放,但我能听到音频

我的xml文件是:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 
    xmlns:android="http://schemas.android.com/apk/res/android" 
    xmlns:sothree="http://schemas.android.com/apk/res-auto"
    android:orientation="vertical" 
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id="@+id/llShowDrop"
    android:background="#FFF">

    <com.malmstein.fenster.view.FensterVideoView
        android:id="@+id/play_video_texture"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:keepScreenOn="true"
        android:fitsSystemWindows="true"
        android:visibility="visible" />

    <com.malmstein.fenster.controller.SimpleMediaFensterPlayerController
        android:id="@+id/play_video_controller"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:animateLayoutChanges="true"
        android:fitsSystemWindows="true"
        android:visibility="visible"
        android:layout_above="@+id/llLastComment" />

</RelativeLayout>
有人知道为什么它不播放视频而只播放音频吗?
提前感谢您的帮助

结果是模拟器在播放视频时出现问题。我在我的三星手机上测试了它,它工作得非常好

final FensterVideoView textureView = (FensterVideoView) llShowDrop.findViewById(R.id.play_video_texture);
final SimpleMediaFensterPlayerController playerController = (SimpleMediaFensterPlayerController) llShowDrop.findViewById(R.id.play_video_controller);

textureView.setMediaController(playerController);
textureView.setVideo("http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4", playerController.DEFAULT_VIDEO_START);
textureView.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {
     @Override
     public void onPrepared(MediaPlayer mp) {
           textureView.start();
     }
});

playerController.setVisibilityListener(new FensterPlayerControllerVisibilityListener() {
     @Override
     public void onControlsVisibilityChange(boolean value) {
           setSystemUiVisibility(value, playerController);
     }
});;