You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
377 B
9 lines
377 B
json.extract! video, :id, :title, :cover_url, :file_url, :play_url, :vv, :user_id, :transcoded
|
|
json.play_duration video.video_play_duration
|
|
json.published_at video.display_published_at
|
|
json.created_at video.display_created_at
|
|
json.updated_at video.display_updated_at
|
|
user = video.user
|
|
json.user_name user&.real_name
|
|
json.user_img url_to_avatar(user)
|
|
json.user_login user&.login |