|
|
@ -15,7 +15,6 @@ class Videos::DispatchCallbackService < ApplicationService
|
|
|
|
video.file_url = convert_https(params['FileUrl'])
|
|
|
|
video.file_url = convert_https(params['FileUrl'])
|
|
|
|
video.filesize = params['Size']
|
|
|
|
video.filesize = params['Size']
|
|
|
|
video.upload_success
|
|
|
|
video.upload_success
|
|
|
|
video.play_url = video.file_url if video.transcoded #不需要转码时,则统一播放地址
|
|
|
|
|
|
|
|
video.save!
|
|
|
|
video.save!
|
|
|
|
when 'SnapshotComplete' then # 封面截图完成
|
|
|
|
when 'SnapshotComplete' then # 封面截图完成
|
|
|
|
return if video.cover_url.present?
|
|
|
|
return if video.cover_url.present?
|
|
|
|