📅  最后修改于: 2022-03-11 14:52:36.258000             🧑  作者: Mango
VideoView myVideo = (VideoView) findViewById(R.id.GifVideoView);
myVideo.setVideoURI(Uri.parse("android.resource://" + getPackageName() + "/" + R.raw.dog_video));
myVideo.start();