|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
json.extract! video, :id, :title, :cover_url, :file_url, :play_url, :vv, :user_id, :transcoded
|
|
|
|
|
json.play_url md5_encode(video.play_url)
|
|
|
|
|
json.file_url md5_encode(video.file_url)
|
|
|
|
|
json.play_url edu_md5_encode(video.play_url)
|
|
|
|
|
json.file_url edu_md5_encode(video.file_url)
|
|
|
|
|
json.play_duration video.video_play_duration
|
|
|
|
|
json.published_at video.display_published_at
|
|
|
|
|
json.created_at video.display_created_at
|
|
|
|
|