Commit 6ba03d37 by mReturn

fix 编辑视频

parent 5d6b971b
......@@ -2,7 +2,6 @@ package com.dayu.learncenter.presenter.pubcourse;
import android.text.TextUtils;
import com.cjt2325.cameralibrary.util.LogUtil;
import com.dayu.base.api.Api;
import com.dayu.base.api.BaseApiFactory;
import com.dayu.event.UserInfo;
......@@ -67,7 +66,7 @@ public class PubCoursePresenter extends PubCourseContract.Presenter {
if (videoPath.startsWith("http"))
videoUrl = videoPath;
if (TextUtils.isEmpty(videoUrl)) {
mPubData.courseTimes = CommonUtils.getVideoLength(videoPath);
mEditData.courseTimes = CommonUtils.getVideoLength(videoPath);
try {
uploadVideo(videoPath,true);
......
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 sign in to comment