From 9b01122b406f7f0c593460a9c96b83ba0f0a3405 Mon Sep 17 00:00:00 2001 From: maiwenchang Date: Thu, 14 May 2020 09:05:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 807f9ec..6359787 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ import org.salient.artplayer.VideoView val videoView = VideoView(context) videoView.mediaPlayer = SystemMediaPlayer().apply{ - setDataSource(this, Uri.parse("http://vfx.mtime.cn/Video/2018/07/06/mp4/180706094003288023.mp4")) + setDataSource(context, Uri.parse("http://vfx.mtime.cn/Video/2018/07/06/mp4/180706094003288023.mp4")) } videoView.prepare() ```