mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
add remove file on click while criaten oublication
This commit is contained in:
@@ -233,7 +233,7 @@ export class NewPublicationPage implements OnInit {
|
||||
|
||||
async startVideoRecording() {
|
||||
try {
|
||||
let options: CaptureImageOptions = { limit: 5 }
|
||||
let options: CaptureImageOptions = { limit: 1 }
|
||||
const data: any = await this.mediaCapture.captureVideo(options)
|
||||
this.video = data[0];
|
||||
console.log(data)
|
||||
@@ -727,6 +727,9 @@ export class NewPublicationPage implements OnInit {
|
||||
return parseInt(sizeInMB)
|
||||
}
|
||||
|
||||
deleteFromSeletedContent(index){
|
||||
this.seletedContent.splice(index,1)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user