Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
android
/
dayu
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6ba03d37
authored
Jun 24, 2020
by
mReturn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 编辑视频
parent
5d6b971b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
learnCenter/src/main/java/com/dayu/learncenter/presenter/pubcourse/PubCoursePresenter.java
learnCenter/src/main/java/com/dayu/learncenter/presenter/pubcourse/PubCoursePresenter.java
View file @
6ba03d37
...
...
@@ -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
))
{
m
Pub
Data
.
courseTimes
=
CommonUtils
.
getVideoLength
(
videoPath
);
m
Edit
Data
.
courseTimes
=
CommonUtils
.
getVideoLength
(
videoPath
);
try
{
uploadVideo
(
videoPath
,
true
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment