Skip to content
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
404
Merge Requests
59
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
e9c085da
Commit
e9c085da
authored
1 hour ago
by
Mark Harding
Browse files
Options
Download
(fix): full screen mode not firing with plyr
parent
2047c615
epic/transcoder-improvements
1 merge request
!691
WIP: new video player
Pipeline
#102324048
passed with stages
in 47 minutes and 27 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
src/app/modules/media/components/video-player/player.component.html
View file @
e9c085da
...
...
@@ -20,6 +20,8 @@
[plyrSources]=
"sources"
[plyrOptions]=
"options"
(plyrPlay)=
"onPlayed($event)"
(plyrEnterFullScreen)=
"fullScreenChange.next($event)"
(plyrExitFullScreen)=
"fullScreenChange.next($event)"
>
</plyr>
</div>
...
...
This diff is collapsed.
src/app/modules/media/components/video-player/player.component.ts
View file @
e9c085da
...
...
@@ -27,6 +27,11 @@ export class MindsVideoPlayerComponent implements OnInit, OnDestroy {
*/
@
Output
()
mediaModalRequested
:
EventEmitter
<
void
>
=
new
EventEmitter
();
/**
* Modal needs to know if we have left full screen
*/
@
Output
()
fullScreenChange
:
EventEmitter
<
Event
>
=
new
EventEmitter
();
/**
* This is the video player component
*/
...
...
This diff is collapsed.
src/app/modules/media/modal/modal.component.html
View file @
e9c085da
...
...
@@ -53,6 +53,7 @@
shouldPlayInModal=
"false"
isModal=
"true"
autoplay=
"true"
(fullScreenChange)=
"onFullscreenChange($event)"
></m-videoPlayer>
</div>
...
...
This diff is collapsed.
Please
register
or
sign in
to comment