diff --git a/app/views/attachments/_attachment.json.jbuilder b/app/views/attachments/_attachment.json.jbuilder index 91d89a87e..85cdee1e5 100644 --- a/app/views/attachments/_attachment.json.jbuilder +++ b/app/views/attachments/_attachment.json.jbuilder @@ -15,3 +15,4 @@ json.created_on attachment.created_on json.content_type attachment.content_type json.is_pdf attachment.is_pdf? json.url attachment.is_pdf? ? download_url(attachment,disposition:"inline") : download_url(attachment) +json.play_url absolute_path(local_path(attachment)) diff --git a/public/react/src/modules/user/usersInfo/video/InfosVideo.css b/public/react/src/modules/user/usersInfo/video/InfosVideo.css index 1ed0b3555..f2b1d5152 100644 --- a/public/react/src/modules/user/usersInfo/video/InfosVideo.css +++ b/public/react/src/modules/user/usersInfo/video/InfosVideo.css @@ -60,7 +60,7 @@ padding: 9px 8px; background: #fff; - border-radius: 0px 0px 12px 12px; + border-radius:12px; } .videoItem .square-main .title{ max-width: 256px; @@ -141,4 +141,5 @@ .videoItem:hover{ box-shadow:0px 4px 10px 0px rgba(3,7,45,0.1); + border-radius:12px; } \ No newline at end of file diff --git a/public/react/src/modules/user/usersInfo/video/VideoInReviewItem.js b/public/react/src/modules/user/usersInfo/video/VideoInReviewItem.js index 53e39defc..1bba7ac03 100644 --- a/public/react/src/modules/user/usersInfo/video/VideoInReviewItem.js +++ b/public/react/src/modules/user/usersInfo/video/VideoInReviewItem.js @@ -67,11 +67,11 @@ function VideoInReviewItem (props) {
{/* 2019-09-01 10:00:22 */} - {vv===0?"": - + + {vv===0?"": - {vv} - } + } {vv===0?"":vv} + { isReview != true &&
onEditVideo(props)}