Skip to content

Commit

Permalink
Merge branch 'bugfix/50108-judge-video-source' into 'release/8.3.33'
Browse files Browse the repository at this point in the history
fix: #50108 判断视频来源

See merge request edusoho/edusoho!9230
  • Loading branch information
钟云昶 committed Jun 13, 2019
2 parents 3f5d610 + 75dcc96 commit 2e5ec8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AppBundle/Controller/OpenCourseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ private function _getLessonVedioInfo(Request $request, $lesson)
$lesson['convertStatus'] = empty($file['convertStatus']) ? 'none' : $file['convertStatus'];
$lesson['storage'] = $file['storage'];
}
} else {
} elseif (in_array($lesson['mediaSource'], array('youku', 'NeteaseOpenCourse', 'qqvideo'))) {
$proxy = new ParserProxy();
$lesson = $proxy->prepareMediaUri($lesson);
}
Expand Down

0 comments on commit 2e5ec8c

Please sign in to comment.