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