获取视频数据

dev_video
cxt 5 years ago
parent e4b185d21d
commit f075bb4ebb

@ -9,8 +9,8 @@ namespace :video do
play_duration = 0 play_duration = 0
start_times.each_with_index do |time, index| start_times.each_with_index do |time, index|
start_time = Time.utc(Time.at(time)) start_time = time.to_time.getutc
end_time = Time.utc(Time.at(end_times[index])) end_time = end_times[index].to_time.getutc
data = AliyunVod::Service.video_data(video.uuid, start_time, end_time) data = AliyunVod::Service.video_data(video.uuid, start_time, end_time)

Loading…
Cancel
Save