VideoView black flash before and after playing

前端 未结 14 2251
谎友^
谎友^ 2020-12-09 04:04

I have a VideoView which I want to use to play a movieclip. I use it like this to play it and it works.

VideoView vv = new VideoView(this);
vv.setVideoURI(Ur         


        
14条回答
  •  长情又很酷
    2020-12-09 04:29

    I had same problem this has worked for me ..

    When you want to show video make videoView.setZOrderOnTop(false); and when you want to hide video view just make videoView.setZOrderOnTop(true);

提交回复
热议问题