Android videoView gives me Alert “Sorry,This video cannot be played”?

后端 未结 4 1111
难免孤独
难免孤独 2020-12-21 16:02
My Code::

public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        VideoView vi         


        
4条回答
  •  猫巷女王i
    2020-12-21 16:35

    I have the same problem , I just figured out that it cames from the video format and encoding. But I didn't really fing the combination thet works on all devices.

    thanks for give the answer if you find it!

提交回复
热议问题