Skip to content
Next
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
810
Merge Requests
54
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
a9fbd0b4
Commit
a9fbd0b4
authored
19 minutes ago
by
Marcelo Rivera
Browse files
Options
Download
(fix): use guid vs entity_guid
parent
cff77aaf
feat/1080p-encoding-for-pro
1 merge request
!598
add 1080p resolution for pro users
Pipeline
#93488811
running with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
src/app/modules/media/view/views/theatre.component.ts
View file @
a9fbd0b4
...
...
@@ -75,13 +75,12 @@ export class MediaTheatreComponent {
const
sources
=
[
{
res
:
'
720
'
,
uri
:
'
api/v1/media/
'
+
this
.
object
.
entity_guid
+
'
/play?s=modal&res=720
'
,
uri
:
'
api/v1/media/
'
+
this
.
object
.
guid
+
'
/play?s=modal&res=720
'
,
type
:
'
video/mp4
'
,
},
{
res
:
'
360
'
,
uri
:
'
api/v1/media/
'
+
this
.
object
.
entity_
guid
+
'
/play?s=modal
'
,
uri
:
'
api/v1/media/
'
+
this
.
object
.
guid
+
'
/play?s=modal
'
,
type
:
'
video/mp4
'
,
},
];
...
...
@@ -89,8 +88,7 @@ export class MediaTheatreComponent {
if
(
this
.
object
.
flags
.
full_hd
)
{
sources
.
push
({
res
:
'
1080
'
,
uri
:
'
api/v1/media/
'
+
this
.
object
.
entity_guid
+
'
/play?s=modal&res=1080
'
,
uri
:
'
api/v1/media/
'
+
this
.
object
.
guid
+
'
/play?s=modal&res=1080
'
,
type
:
'
video/mp4
'
,
});
}
...
...
@@ -100,12 +98,12 @@ export class MediaTheatreComponent {
get
videoTorrentSrc
()
{
const
sources
=
[
{
res
:
'
720
'
,
key
:
this
.
object
.
entity_
guid
+
'
/720.mp4
'
},
{
res
:
'
360
'
,
key
:
this
.
object
.
entity_
guid
+
'
/360.mp4
'
},
{
res
:
'
720
'
,
key
:
this
.
object
.
guid
+
'
/720.mp4
'
},
{
res
:
'
360
'
,
key
:
this
.
object
.
guid
+
'
/360.mp4
'
},
];
if
(
this
.
object
.
flags
.
full_hd
)
{
sources
.
push
({
res
:
'
1080
'
,
key
:
this
.
object
.
entity_
guid
+
'
/1080.mp4
'
});
sources
.
push
({
res
:
'
1080
'
,
key
:
this
.
object
.
guid
+
'
/1080.mp4
'
});
}
return
sources
;
...
...
This diff is collapsed.
Please
register
or
sign in
to comment