+
{{ showMeta ? '(' + video.fileSizeDisplay + ')' : '' }}
diff --git a/src/app/components/views/clip/clip.component.ts b/src/app/components/views/clip/clip.component.ts
index 1b94fc92..dae0937f 100644
--- a/src/app/components/views/clip/clip.component.ts
+++ b/src/app/components/views/clip/clip.component.ts
@@ -1,4 +1,4 @@
-import { ChangeDetectorRef } from '@angular/core';
+import { ChangeDetectorRef, input } from '@angular/core';
import type { OnInit } from '@angular/core';
import { Component, HostListener, Input, Output, EventEmitter } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
@@ -9,6 +9,8 @@ import type { ImageElement } from '../../../../../interfaces/final-object.interf
import type { RightClickEmit, VideoClickEmit } from '../../../../../interfaces/shared-interfaces';
import { metaAppear, textAppear } from '../../../common/animations';
+import {SettingsButtons, SettingsButtonsType } from '../../../common/settings-buttons';
+import { log } from 'console';
@Component({
selector: 'app-clip-item',
@@ -42,6 +44,7 @@ export class ClipComponent implements OnInit {
@Input() imgHeight: number;
@Input() largerFont: boolean;
@Input() showMeta: boolean;
+ @Input() SettingsButtons: SettingsButtonsType;
appInFocus = true;
folderPosterPaths: string[] = [];
@@ -51,6 +54,7 @@ export class ClipComponent implements OnInit {
pathToVideo = '';
poster: string;
posterFolderType: any = 'clips';
+ settingsButtons = SettingsButtons;
constructor(
public filePathService: FilePathService,
diff --git a/src/app/components/views/file/file.component.html b/src/app/components/views/file/file.component.html
index 329d96ee..b2e245c0 100644
--- a/src/app/components/views/file/file.component.html
+++ b/src/app/components/views/file/file.component.html
@@ -61,7 +61,7 @@
@@ -78,7 +78,7 @@
>
{{ video.cleanName }}
@@ -87,7 +87,7 @@
diff --git a/src/app/components/views/file/file.component.ts b/src/app/components/views/file/file.component.ts
index 0cb31056..8f4423da 100644
--- a/src/app/components/views/file/file.component.ts
+++ b/src/app/components/views/file/file.component.ts
@@ -1,7 +1,10 @@
-import { Component, Input } from '@angular/core';
+import { Component, Input, OnInit } from '@angular/core';
import type { ImageElement } from '../../../../../interfaces/final-object.interface';
import { ImageElementService } from './../../../services/image-element.service';
+import { SettingsButton } from '../../../common/settings-buttons.interface';
+import { SettingsButtonsType, SettingsButtons} from '../../../common/settings-buttons';
+import { ContentObserver } from '@angular/cdk/observers';
@Component({
selector: 'app-file-item',
@@ -13,7 +16,7 @@ import { ImageElementService } from './../../../services/image-element.service';
'../selected.scss'
]
})
-export class FileComponent {
+export class FileComponent implements OnInit {
@Input() video: ImageElement;
@@ -21,6 +24,13 @@ export class FileComponent {
@Input() largerFont: boolean;
@Input() showMeta: boolean;
@Input() showFavorites: boolean;
+ @Input() SettingsButton: SettingsButtonsType;
+
+ settingsButtons = SettingsButtons;
+
+ ngOnInit(){
+
+ }
constructor(
public imageElementService: ImageElementService,
diff --git a/src/app/components/views/filmstrip/filmstrip.component.html b/src/app/components/views/filmstrip/filmstrip.component.html
index 265bbc54..fd601e0d 100644
--- a/src/app/components/views/filmstrip/filmstrip.component.html
+++ b/src/app/components/views/filmstrip/filmstrip.component.html
@@ -17,8 +17,8 @@
'background-size': 'auto ' + imgHeight + 'px'
}"
>
- {{ video.durationDisplay }}
- {{ video.resolution }}
+ {{ video.durationDisplay }}
+ {{ video.resolution }}
{{ video.cleanName }}
-
+
({{ video.fileSizeDisplay }})
diff --git a/src/app/components/views/filmstrip/filmstrip.component.ts b/src/app/components/views/filmstrip/filmstrip.component.ts
index 7c6a0f52..66fe0198 100644
--- a/src/app/components/views/filmstrip/filmstrip.component.ts
+++ b/src/app/components/views/filmstrip/filmstrip.component.ts
@@ -9,6 +9,7 @@ import { metaAppear, textAppear } from '../../../common/animations';
import type { ImageElement } from '../../../../../interfaces/final-object.interface';
import { ImageElementService } from './../../../services/image-element.service';
import type { RightClickEmit, VideoClickEmit } from '../../../../../interfaces/shared-interfaces';
+import { SettingsButtons , SettingsButtonsType } from '../../../common/settings-buttons';
@Component({
selector: 'app-filmstrip-item',
@@ -40,10 +41,12 @@ export class FilmstripComponent implements OnInit {
@Input() largerFont: boolean;
@Input() showMeta: boolean;
@Input() showFavorites: boolean;
+ @Input() SettingsButtons : SettingsButtonsType;
fullFilePath = '';
filmXoffset = 0;
indexToShow = 1;
+ settingsButtons = SettingsButtons;
constructor(
public filePathService: FilePathService,
diff --git a/src/app/components/views/full/full.component.html b/src/app/components/views/full/full.component.html
index 455a2896..49944b87 100644
--- a/src/app/components/views/full/full.component.html
+++ b/src/app/components/views/full/full.component.html
@@ -42,7 +42,7 @@
class="title"
>
{{ video.cleanName }}
-
+
({{ video.fileSizeDisplay }})
diff --git a/src/app/components/views/full/full.component.ts b/src/app/components/views/full/full.component.ts
index 31075480..908918b3 100644
--- a/src/app/components/views/full/full.component.ts
+++ b/src/app/components/views/full/full.component.ts
@@ -9,6 +9,7 @@ import { metaAppear, textAppear } from '../../../common/animations';
import type { ImageElement } from '../../../../../interfaces/final-object.interface';
import { ImageElementService } from './../../../services/image-element.service';
import type { RightClickEmit, VideoClickEmit } from '../../../../../interfaces/shared-interfaces';
+import {SettingsButtons, SettingsButtonsType } from '../../../common/settings-buttons';
@Component({
selector: 'app-full-item',
@@ -46,6 +47,7 @@ export class FullViewComponent implements OnInit {
@Input() largerFont: boolean;
@Input() showMeta: boolean;
@Input() showFavorites: boolean;
+ @Input() SettingsButtons: SettingsButtonsType
_imgHeight: number;
_metaWidth: number;
@@ -53,6 +55,7 @@ export class FullViewComponent implements OnInit {
fullFilePath = '';
rowOffsets: number[];
+ settingsButtons = SettingsButtons;
constructor(
public filePathService: FilePathService,
public imageElementService: ImageElementService,
diff --git a/src/app/components/views/thumbnail/thumbnail.component.html b/src/app/components/views/thumbnail/thumbnail.component.html
index b80a8a21..364bfb82 100644
--- a/src/app/components/views/thumbnail/thumbnail.component.html
+++ b/src/app/components/views/thumbnail/thumbnail.component.html
@@ -143,8 +143,8 @@
[icon]="'icon-heart'">
-
{{ video.durationDisplay }}
-
{{ video.resolution }}
+
{{ video.durationDisplay }}
+
{{ video.resolution }}