|
|
|
@ -12,13 +12,12 @@ import HeadlessModal from '../../user/usersInfo/common/HeadlessModal'
|
|
|
|
|
import ClipboardJS from 'clipboard'
|
|
|
|
|
import '../../user/usersInfo/video/InfosVideo.css'
|
|
|
|
|
let _clipboard = null;
|
|
|
|
|
let getUrls=getUrl();
|
|
|
|
|
class Fileslistitem extends Component{
|
|
|
|
|
constructor(props){
|
|
|
|
|
super(props);
|
|
|
|
|
this.state = {
|
|
|
|
|
videoModalObj:false,
|
|
|
|
|
file_url:"",
|
|
|
|
|
file_url:getUrl(),
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
setVisible=(bool)=>{
|
|
|
|
@ -62,7 +61,7 @@ class Fileslistitem extends Component{
|
|
|
|
|
if(list.content_type==="video/mp4"){
|
|
|
|
|
this.setState({
|
|
|
|
|
videoModalObj:true,
|
|
|
|
|
file_url:getUrls+list.url+'?file_name='+list.title,
|
|
|
|
|
file_url:getUrl()+list.url+'?file_name='+list.title,
|
|
|
|
|
})
|
|
|
|
|
return
|
|
|
|
|
}else{
|
|
|
|
@ -94,7 +93,7 @@ class Fileslistitem extends Component{
|
|
|
|
|
if(list.content_type==="video/mp4"){
|
|
|
|
|
this.setState({
|
|
|
|
|
videoModalObj:true,
|
|
|
|
|
file_url:getUrls+list.url+'?file_name='+list.title,
|
|
|
|
|
file_url:getUrl()+list.url+'?file_name='+list.title,
|
|
|
|
|
})
|
|
|
|
|
return
|
|
|
|
|
}else{
|
|
|
|
@ -130,7 +129,7 @@ class Fileslistitem extends Component{
|
|
|
|
|
Clicktobroadcastthevideo=(bool,url)=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
videoModalObj:bool,
|
|
|
|
|
file_url:getUrls+url,
|
|
|
|
|
file_url:getUrl()+url,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|