Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
899
Issues
899
List
Boards
Labels
Service Desk
Milestones
Merge Requests
45
Merge Requests
45
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Compare Revisions
40701f6d637d32ec16946933fe34e6c94c76c388...24c5af9ac893f5f51c7aa2584bad22d5cef8bd82
Source
24c5af9ac893f5f51c7aa2584bad22d5cef8bd82
Select Git revision
...
Target
40701f6d637d32ec16946933fe34e6c94c76c388
Select Git revision
Compare
Commits (2)
(fix): pro navigation intercept
· 4d02dc53
Marcelo Rivera
authored
10 minutes ago
4d02dc53
(feat): don't play videos on mobile browsers
· 24c5af9a
Marcelo Rivera
authored
9 minutes ago
24c5af9a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
app.component.ts
src/app/app.component.ts
+1
-0
tile.component.html
src/app/modules/pro/channel/tiles/media/tile.component.html
+4
-3
No files found.
src/app/app.component.ts
View file @
24c5af9a
...
...
@@ -82,6 +82,7 @@ export class Minds {
}
let
url
=
navigationEvent
.
url
.
substring
(
1
,
navigationEvent
.
url
.
length
)
.
split
(
'
/
'
)[
0
]
.
split
(
'
;
'
)[
0
]
.
split
(
'
?
'
)[
0
];
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/tiles/media/tile.component.html
View file @
24c5af9a
<div
class=
"m-proChannelTile__container"
[ngSwitch]=
"getType(entity)"
>
<div
class=
"m-proChannelTile__container"
(click)=
"tileClicked()"
[ngSwitch]=
"getType(entity)"
>
<m-video
*ngSwitchCase=
"'object:video'"
width=
"100%"
...
...
@@ -16,7 +19,6 @@
[playCount]=
"entity['play:count']"
[torrent]=
"[{ res: '360', key: entity.guid + '/360.mp4' }]"
(videoMetadataLoaded)=
"setVideoDimensions($event)"
(mediaModalRequested)=
"tileClicked()"
[shouldPlayInModal]=
"true"
#player
></m-video>
...
...
@@ -24,7 +26,6 @@
<img
*ngSwitchDefault
[src]=
"entity.thumbnail_src"
(click)=
"tileClicked()"
#img
/>
</div>
...
...
This diff is collapsed.
Click to expand it.