|
@@ -576,5 +576,5 @@ class CloudVodView(View):
|
|
format(url_start=url_start, url_end=url_end)
|
|
format(url_start=url_start, url_end=url_end)
|
|
thumb = bucket.sign_url('GET', ts, 3600,
|
|
thumb = bucket.sign_url('GET', ts, 3600,
|
|
params={'x-oss-process': 'video/snapshot,t_10000,m_fast,w_300'})
|
|
params={'x-oss-process': 'video/snapshot,t_10000,m_fast,w_300'})
|
|
- vod_play_list.append({'name': vod['time'], 'sign_url': vod_play_url, 'thumb': thumb, 'sec': vod['sec']})
|
|
|
|
|
|
+ vod_play_list.append({'name': vod['time'], 'sign_url': vod_play_url, 'thumb': thumb, 'sec': vod['sec'],'id':vod['id']})
|
|
return response.json(0, vod_play_list)
|
|
return response.json(0, vod_play_list)
|