Skip to content
Next
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
808
Merge Requests
53
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
50f69651
Commit
50f69651
authored
21 minutes ago
by
Marcelo Rivera
Committed by
Mark Harding
19 minutes ago
Browse files
Options
Download
(fix): remove timestamp
(fix): updateSources for video entities
parent
88475af4
master
No related merge requests found
Pipeline
#94434525
running with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
src/app/modules/media/modal/modal.component.ts
View file @
50f69651
...
...
@@ -146,21 +146,12 @@ export class MediaModalComponent implements OnInit, OnDestroy {
{
res
:
'
720
'
,
uri
:
'
api/v1/media/
'
+
this
.
entity
.
entity_guid
+
'
/play/
'
+
Date
.
now
()
+
'
?s=modal&res=720
'
,
'
api/v1/media/
'
+
this
.
entity
.
entity_guid
+
'
/play?s=modal&res=720
'
,
type
:
'
video/mp4
'
,
},
{
res
:
'
360
'
,
uri
:
'
api/v1/media/
'
+
this
.
entity
.
entity_guid
+
'
/play/
'
+
Date
.
now
()
+
'
?s=modal
'
,
uri
:
'
api/v1/media/
'
+
this
.
entity
.
entity_guid
+
'
/play/?s=modal
'
,
type
:
'
video/mp4
'
,
},
];
...
...
@@ -203,8 +194,6 @@ export class MediaModalComponent implements OnInit, OnDestroy {
?
this
.
entity
.
thumbnails
.
xlarge
:
null
;
this
.
updateSources
();
switch
(
this
.
entity
.
custom_type
)
{
case
'
video
'
:
this
.
contentType
=
'
video
'
;
...
...
@@ -258,8 +247,9 @@ export class MediaModalComponent implements OnInit, OnDestroy {
this
.
title
=
this
.
entity
.
title
;
this
.
entity
.
entity_guid
=
this
.
entity
.
guid
;
this
.
entity
.
custom_data
=
{
full_hd
:
this
.
entity
.
flags
.
full_hd
,
full_hd
:
this
.
entity
.
flags
?
!!
this
.
entity
.
flags
.
full_hd
:
false
,
};
this
.
updateSources
();
break
;
case
'
image
'
:
this
.
contentType
=
'
image
'
;
...
...
This diff is collapsed.
Please
register
or
sign in
to comment