Commit de8c5852 by 严久程

课程、支付

parent 76274a58
......@@ -138,10 +138,9 @@ class CoursePlugin : MethodChannel.MethodCallHandler {
var url = fileInfo["url"].toString()
if (demoType == 1) {
PlayerFloatHelper.playingType = PlayTypeEnum.PLAY_TYPE_COURSE
music.path = url
PlayerFloatHelper.show(mFragment!!.activity)
PlayerFloatHelper.show(mFragment!!.activity,playTypeEnum=PlayTypeEnum.PLAY_TYPE_COURSE)
AudioPlayer.get().singlePlay(music)
}
if (demoType == 2) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment