本地视频无法播放
gxs-gc opened this issue · comments
代码
val dataSource = DataSpec(RawResourceDataSource.buildRawResourceUri( R.raw.nan ))
val raw = RawResourceDataSource(this)
raw.open(dataSource)
exoPlayerManager = VideoPlayerManager.Builder(this,VideoPlayerManager.TYPE_PLAY_GESTURE, R.id.exo_play)
.setLoopingMediaSource( Integer.MAX_VALUE,raw.uri)
.setVerticalFullScreen(true)
.create()
.startPlayer()
最新61版本