|
|
|
@ -21,7 +21,7 @@ const clipboardMap = {}
|
|
|
|
|
function VideoInReviewItem (props) {
|
|
|
|
|
const theme = useContext(ThemeContext);
|
|
|
|
|
const { history, file_url , play_url , cover_url , transcoded , title, created_at, published_at, isReview, id
|
|
|
|
|
, onEditVideo, onMaskClick, getCopyText, showNotification,vv,play_duration,operation , deleteVideo , moveVideo ,link, people_num,total_time} = props;
|
|
|
|
|
, onEditVideo, onMaskClick, getCopyText, showNotification,vv,play_duration,operation , deleteVideo , moveVideo ,link, people_num,total_time,Setmyktid} = props;
|
|
|
|
|
useEffect(()=> {
|
|
|
|
|
if (!isReview) {
|
|
|
|
|
_clipboard = new ClipboardJS(`.copybtn_item_${id}`);
|
|
|
|
@ -48,7 +48,7 @@ function VideoInReviewItem (props) {
|
|
|
|
|
history.push(`/users/${username}/videos/upload`)
|
|
|
|
|
}
|
|
|
|
|
const imgUrl = (!transcoded && !link) ? defaultImg : (cover_url || defaultImg);
|
|
|
|
|
|
|
|
|
|
console.log(props)
|
|
|
|
|
return (
|
|
|
|
|
<div className={`${isReview ? 'videoInReviewItem' : 'nItem'} videoItem`}>
|
|
|
|
|
<Spin tip="正在转码,请稍等..." spinning={!transcoded && !link}>
|
|
|
|
@ -95,7 +95,7 @@ function VideoInReviewItem (props) {
|
|
|
|
|
{
|
|
|
|
|
props&&props.mykt!=undefined?isReview !== true && moveVideo &&
|
|
|
|
|
<Tooltip title="统计" placement="bottom">
|
|
|
|
|
<i className="icon-tongji1 iconfont font-15" onClick={() => moveVideo(props)}
|
|
|
|
|
<i className="icon-tongji1 iconfont font-15" onClick={() => Setmyktid(props.id,props.title)}
|
|
|
|
|
style={{ marginTop: '1px', display: 'inline-block'}}
|
|
|
|
|
></i>
|
|
|
|
|
</Tooltip>:""
|
|
|
|
|