mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
update version and add default post image
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -14,7 +14,7 @@ import { PermissionService } from 'src/app/services/permission.service';
|
||||
import { HttpErrorHandle } from 'src/app/services/http-error-handle.service';
|
||||
import { Storage } from '@ionic/storage';
|
||||
import { PublicationFolderService } from 'src/app/store/publication-folder.service';
|
||||
import { CapacitorVideoPlayer } from 'capacitor-video-player';
|
||||
// import { CapacitorVideoPlayer } from 'capacitor-video-player';
|
||||
import { checkFileTypeService } from 'src/app/services/checkFileType.service';
|
||||
import { PublicationVideoManagerService } from "src/app/services/publication/publication-video-manager.service"
|
||||
import { StopvideoService } from "src/app/services/stopvideo.service"
|
||||
@@ -38,7 +38,6 @@ export class ViewPublicationsPage implements OnInit {
|
||||
publicationPipe = new PublicationPipe()
|
||||
publicationDitails: any;
|
||||
getpublication = [];
|
||||
private videoplayer: any;
|
||||
private videoUrl: any;
|
||||
slideOpts = {
|
||||
initialSlide: 0,
|
||||
@@ -96,7 +95,6 @@ export class ViewPublicationsPage implements OnInit {
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
this.videoplayer = CapacitorVideoPlayer;
|
||||
if (typeof (this.folderId) == 'object') {
|
||||
this.folderId = (this.folderId as any)['ProcessId']
|
||||
}
|
||||
@@ -160,10 +158,6 @@ export class ViewPublicationsPage implements OnInit {
|
||||
this.getFromDB();
|
||||
}
|
||||
|
||||
playVideo() {
|
||||
const rest: any = this.videoplayer.initPlayer({mode:"fullscreen",url: this.videoUrl})
|
||||
}
|
||||
|
||||
createPublicationList(folderId = this.folderId) {
|
||||
console.log('create')
|
||||
if (!this.publicationFolderService.publicationList[folderId]) {
|
||||
|
||||
Reference in New Issue
Block a user